[LSP] Words surrounded by back quotes should be blue in markdown comments
See original GitHub issueDescribe the bug Previously if you surrounded a word with back quotes it would turn blue in a markdown comment (triple slash), but it no longer does with LSP.
To Reproduce Add this comment:
/// `this should be blue`
Expected behavior Back quotes should emphasize things as before.
Screenshots
Versions (please complete the following information):
- VS Code version:
1.57.0-insider
Commit: b95b73b7b074f5dddccd57e5e290617f1a767ec1
- Dart extension version:
3.22.0
- Dart/Flutter SDK version:
Flutter 2.3.0-0.1.pre • channel unknown • unknown source
Framework • revision d72bfb8d07 (12 days ago) • 2021-04-26 06:05:55 -0700
Engine • revision de6e1adf97
Tools • Dart 2.14.0 (build 2.14.0-18.0.dev)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
quote back-tick quote...enclosed in back-ticks - Stack Overflow
The first argument to log here is quote, back-tick, quote. I would like to embed this in a sentence in a markdown document...
Read more >Writing one sentence per line - Hacker News
One sentence per line means diffs will operate per-sentence, ... text (output is similar to output of latexdiff: red = word removed, blue...
Read more >BBEdit 14.0 User Manual - Amazon S3
Use typographer's quotes – 245 ... not BBEdit should back up a given file. ... BBEdit defines a paragraph as a block of...
Read more >Modus Themes (Modus Operandi and Modus Vivendi)
(a) The FSF's Back-Cover Text is: “You have the freedom to copy and modify ... Comments are gray, strings are blue colored, doc...
Read more >Applying UML and Patterns - The University of Texas at Dallas
OOA/D. And, like me, you will find yourself going back to it, to refresh your memory, or to gain further insights ... cess...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jducaud yep, understood. The difference between your screenshots is really the difference between LSP semantic tokens or the textmate grammar. The reason it works without the extension enabled now is that in the recent release of VS Code includes the textmate grammar from this extension directly in VS Code.
If you want to disable semantic tokens for now until this is addressed, you can add the following to your VS Code user settings:
This will result in the same colouring as your first screenshot without needing to disable LSP or the extension. It does mean a few things may not be coloured correctly due to limitations of the regular expressions (for example if you name a method
set
it’ll be coloured like theset
keyword instead of a method), though you might it’s worth the trade-off.Thank you @DanTup! This trick is a good provisional workaround