BOM syntax-highlighting issue
See original GitHub issueWhen opening tests/tests.ts
from https://github.com/typeStrong/csproj2ts , the syntax highlighting is off by one character. I believe this is due to the presence of a UTF-8 BOM.
Also of note, is that changing the encoding in another editor (to remove the BOM) and then re-opening the file in alm does not resolve the issue. I had to quit ALM and then go back in for it to show the syntax highlighting properly.
I would like to take a crack at fixing this myself.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
UTF-8 BOM breaks syntax highlighting. - meld - GitLab - GNOME
Comparing two CSharp files is not syntax highlighting past the first line. It is picking up on the fact that the file is...
Read more >BOM and syntax highlighting - Google Groups
After fixing the parser issue, I wanted to check how the syntax highlighter had to be updated to support files starting with a...
Read more >Files with custom extension and an UTF8 BOM are not ...
View it in the GitLab UI. It does not have syntax highlighting. Possible fixes. Update rouge to 3.x.x.. ### Summary The current rouge...
Read more >Syntax highlighting in projects shows invalid errors when java files ...
When importing a gradle project that has a few files saved using "UTF8 with BOM" encodng, the IDE fails to detect the classes...
Read more >71224 - UTF-8 BOM rendering issues - chromium - Monorail
Issue 71224: UTF-8 BOM rendering issues · 1. Edit the base template file with notepad++ and save it as UTF-8 with BOM ·...
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 Free
Top 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
Thanks. I notice you are dangerously close to 1000 stars.
Thanks man. 😃