Latest version (5.0.221116) breaks syntax highlighting
See original GitHub issueThe issue
Syntax highlighting stopped working for TypeScript files after last update.
v5.0.20221115:
v5.0.20221116:
Logs
2022-11-16 22:33:25.758 [error] Unable to load and parse grammar for scope source.tsx from file:///Users/devdavi/.vscode/extensions/ms-vscode.vscode-typescript-next-5.0.20221116/syntaxes/TypeScriptReact.tmLanguage.json {}
Steps to reproduce
- Update to latest version (or let vscode update it automatically as happened to me)
- Open a .ts (TypeScript) or .tsx (TypeScript React) file
- You will probably see that syntax highlighting is not working anymore
Issue Analytics
- State:
- Created 10 months ago
- Reactions:44
- Comments:14 (1 by maintainers)
Top Results From Across the Web
TypeScript syntax highlighting partially broken
Intellisense or code analysis works fine, it really is just issue with syntax highlighting. Visual Studiowindows 10.0typescriptvisual studio 15.1.2.
Read more >Syntax Highlighting - GitLab Documentation
GitLab provides syntax highlighting on all files through Highlight.js and the Rouge Ruby gem. It attempts to guess what language to use based...
Read more >1882163 – gedit disables HTML syntax highlighting due to ...
Fixed In Version: Doc Type: ---. Doc Text: Clone Of: Environment: Last Closed: 2021-11-30 16:30:31 UTC. Type: Bug. Dependent Products:.
Read more >Visual Studio Code syntax highlighting is not working for ...
This was more of a bug with the latest version (currently 1.73.1). ... and TypeScript Nightly seems to be breaking the syntax highlighting....
Read more >Syntax highlighting: vimrc - Miller Latest Documentation
Quick links: Flags Verbs Functions Glossary Release docs ... syntax for syntax-highlighting source files in the Miller programming language, ...
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
step 1. Being in trouble
step 2. Check version of “JavaScript and TypeScript Nightly”
step 3. Changing version v5.0.20221115

step 4. Still Being in trouble. Don’t panic. Just reload
command + shift + p -> Developer:Reload Window

step 5. Solve!
This is fixed with v5.0.202211170
Sorry for the trouble. The root cause was an upstream part of our build pipelines corrupting syntax files