Extension not loading in devcontainer on latest VSCode 1.70.2
Closed this issue · 4 comments
Noticed that my handlebars highlighting stopped worked and spent some time debugging the issue. Seems like the main culprit is VSCode version 1.70.2, I tried different versions of the devcontainer extension on latest VSCode with no effect.
Reverting VSCode back to 1.69.x fixes loading of the extension in devcontainers.
Hi @jstys thank you for report!
I'm checking 1.71.0 and it seems fine:
Could you provide more information with broken code samples?
Yes, so for a basic way to reproduce on the latest 1.71.0 release:
- Ensure "Remote - Containers" plugin is installed
- From command palette, choose "Remote Containers - Try a Development Container Sample"
- Select "Node" and wait for devcontainer to be setup
- Install the Ember Stable Language Server plugin in the devcontainer
- Create a basic .hbs file with some handlebars syntax i.e.
{{yield}}
At this point I notice the .hbs doesn't seem to get registered as handlebars syntax and vscode simply displays it as a regular plain text file. Goto navigation is also not working. Note: I don't run into this issue when running vscode normally, only seems to be an issue inside devcontainers which we use pretty heavily for our dev environments.
@jstys could you double check you have https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-glimmer-syntax installed? Ember language server does not have builtin syntax highlighting functionality
Okay I think that's what I was looking for. I've never actually had that extension installed for the multiple years I've used your language server plugin but only recently the syntax highlighting / code navigation stopped working in devcontainers. Probably safe to close if the language server is not responsible for this behavior. Thanks for the great ember plugins!