Open RedCMD opened 2 years ago
Sorry for my slow reaction time on this issue.
Thanks for this detailed list!
Please open a new issue for each item and list them here (like you did with the first four bullet points). That makes discussing them individually easier!
I'm very sure some of your points are duplicates of existing issues though.
This report is just a list of different bugs, weirdness, suggestions, feature requests, notes and missing info; from within and around the
language-configuration.json
file I can open a new report for any one of these items if needed[ ] Bug: https://github.com/microsoft/vscode/issues/197970
[x] Bug: https://github.com/microsoft/vscode/issues/149460
[x] Request: https://github.com/microsoft/vscode/issues/141044
[x] Suggestion: https://github.com/microsoft/vscode/issues/149719
[x] Bug: https://github.com/microsoft/vscode/issues/150687
[ ] Noteable: In release 1.67 multiple-character bracket match highlighting no longer works if any one character has a different foreground token or font style than any other character. TextMate grammar has given the
1.66:
1.67: ![image](https://user-images.githubusercontent.com/33529441/169012898-481660e0-8a26-4ef4-af71-0eea40d5a0d7.png)
$
italics, but not the{
(The closing bracket does not care about the opening bracket's token)[ ] Feature request: Allow match highlighting with the same opening and closing character If
1.67: ![image](https://user-images.githubusercontent.com/33529441/169000448-d6c901c3-66df-4def-8012-bf76470821f8.png)
"
is defined as both the opening and closing"brackets"
, vscode will mark all"
as invalid 1.66:[ ] Noteable: Match highlighting does not work correctly with letters:
![image](https://user-images.githubusercontent.com/33529441/169002804-eb388ce2-0b20-4e49-8c19-76b9af579b9d.png)
[ ] Bug: Suggestions are not available if a word starts with a number even if
![image](https://user-images.githubusercontent.com/33529441/169004946-0a808b17-af29-47a1-a4e6-b7dc24cf930b.png)
"wordPattern"
allows it[ ] Weird: Word highlighting won't highlight the word under the cusor if the ending character is a letter and the following character is also a letter But weirdly; it will still highlight other occurrences of the word in the document
![image](https://user-images.githubusercontent.com/33529441/169006162-145856b4-252c-425f-8680-a70551d9b626.png)
[x] Bug: When embedding a language inside another;
"comments"
,"colorizedBracketPairs"
and"wordPattern"
correctly uses the embedded languages settings. But"autoClosingPairs"
,"autoCloseBefore"
,"folding"
and"indentationRules"
do not work, and instead continue to use the parent's language settings https://github.com/microsoft/vscode/issues/176034[ ] Feature request: Add a 'case-insensitivity' option to
"wordPattern"
. Currently trying with(?i)
will cause it to fail silently https://github.com/microsoft/vscode/issues/72989[x] Feature request: Allow a way to disable 'bracket colouring' for specific brackets, but still allow 'bracket pair highlighting' Either via a special token or just specifying the brackets For when you want to see bracket pairs without them changing colour. Would be useful for non-nesting bracket types e.g. comments, strings, ranged quantifiers (in regex)
{2,3}
and even for word based 'brackets' likeIf
andEndIf
https://github.com/microsoft/vscode/issues/170497[x] Bug: Horizontal bracket guides do not work on wrapped lines if
https://github.com/microsoft/vscode/issues/149074
editor.wrappingIndent
is set tonone
(orsame
and if there is no indentation)none
:indent
:[ ] Bug: https://code.visualstudio.com/api/language-extensions/language-configuration-guide does not list the new
"colorizedBracketPairs"
option. Nor does it say that"brackets"
will implicitly enable all other options if not explicitly 'not defined' (TODO: needs more info)