Multi-line comment breaks highlighting
See original GitHub issueSeems to be an error with general JS multi-line comments. This breaks DocBlockr code for example.
Using ST3, with JSCustom React syntax highlighting. This issue just appeared for me today, I assume after the latest update was installed.
Copy-pastable code
// Normal highlighting
let x = 1;
/***/ // Should be normal highlighting
let y = 1;
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to handle multi-line comments in a live syntax highlighter?
So the amount of highlighting done depends on how much code you have between multi-line comments. That is a quick overview of how...
Read more >Single line comments break syntax highlighting #1253 - GitHub
When using single line comments i.e. -- they are not syntax highlighted and often seem to report errors on subsequent lines. /**/ multi-line...
Read more >Highlighting of multi-line Python docstrings broken ... - GitLab
With the rollout of HighlightJS syntax highlighting in 15.2.0, the highlighting of multi-line Python docstrings is broken in the repo ...
Read more >Highlight Multiple Lines of Comments
I'm trying to get gvim to highlight multiple lines of comment that starts with a particular word. For example, consider the word 'NOTE':...
Read more >Multi-line comments have arrived! You can now highlight ...
Multi-line comments have arrived! You can now highlight multiple lines in a pull request diff and add a comment, all at once.
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
The issue is resolved now (after rebuilding syntaxes). Thanks!
Version 3 is supposed to be exclusive to Sublime Text 4. Obviously, things went wrong. As an immediate fix, I’ve released v3.0.2, which should be identical to v2.4.2.