8000 Apostrophe breaks syntax highlighting for Ini files · Issue #3 · textmate/ini.tmbundle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Apostrophe breaks syntax highlighting for Ini files #3
Open
@aeschli

Description

@aeschli

From @thijsvandien on March 2, 2017 17:13

  • VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:27:09.350Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions:
Extension Author Version
python donjayamanne 0.5.9
vim vscodevim 0.5.3

Steps to Reproduce:

  1. Create an ini file where a text value contains an apostrophe in the middle, e.g.:
[Sample]
SomeKey=Someone's Value
SomeOtherKey=42
  1. Note that from the apostrophe onward, the rest of the file is considered a string.

Different ini implementations have their own interpretations of values. E.g., Windows does not consider the apostrophes of a quoted value part of that value. I'm not aware of the exact rules, but at least the current highlighting behavior is wrong. I think it would be better to stick to the universally valid rules – sections, keys and values – and not to consider apostrophes special at all.

Copied from original issue: microsoft/vscode#21804

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0