nhoizey / vscode-gremlins

Gremlins tracker for Visual Studio Code: reveals invisible whitespace and other annoying characters

Home Page:https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Characters for non-English text but looks like ASCII letters.

be5invis opened this issue · comments

Like Cyrillic letters, Greek question mark, CJK full-width punctuations.
Only mark them in code though.

@be5invis hello, sorry for the very late answer, trying to catch up on all opened issues.

These would be useful indeed, but I would like to make Gremlins easily configurable before, so that people have the opportunity to decide which characters to look for.

Anyway, would you have a page somewhere listing all these characters?

Here are some examples I know:

  • Greek question mark U+037E (;);
  • Curly quotes (U+2018U+201F);
  • Characters in “Halfwidth and Fullwidth Forms” block (U+FF00U+FFEF);

For these characters:

  • If they occur in code, report error.
  • If they occur in strings or comments, notify the user.

A few additional characters:
https://twitter.com/aemkei/status/1146884713371578369

Regarding context aware choice between error and warning, I'm not sure how to proceed.