Skip to content

VS Code Extension: Don't turn off highlighting of "invisible characters" #758

@DavisVaughan

Description

@DavisVaughan

Bug description

In the VS Code Extension, for some unknown reason the extension ships with

      "[quarto]": {
        "editor.unicodeHighlight.ambiguousCharacters": false,
        "editor.unicodeHighlight.invisibleCharacters": false
      },

"editor.unicodeHighlight.invisibleCharacters": false

I git blamed my way back but they seem to be tied to the "great migration" commit which is not useful for gaining context about why this is set
0afac7b

I believe that "editor.unicodeHighlight.invisibleCharacters": false is particularly harmful, as it prevents non-breaking spaces from being highlighted. I'd argue that if non-breaking spaces were highlighted, then this user would have been able to figure out their problem much faster:
posit-dev/air#381

Here are the docs for these two settings, I vote we remove the contributed configuration for both of these entirely:

Image Image

This also aligns with my general principle that extensions should ship as minimal amount of contributed configuration as possible, because it will often just confuse users otherwise.

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions