-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[plugin] fix #5753: redetect languages on new grammar #5754
Conversation
packages/plugin-ext/src/main/browser/plugin-contribution-handler.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Anton Kosyakov <[email protected]>
I've updated to redetect only once. |
The second method does not have syntax highlighting. |
@kittaakos it is already grammar issue, the same in VS Code: |
@AlexTugarev @kittaakos are you fine with changes? could it be merged? |
@kittaakos that's due to the problem from L.17 as stated in the comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works nicely!
/* `true` because it is derived from an URI during the instantiation */ | ||
protected _languageAutoDetected = true; | ||
|
||
get languageAutoDeteceted(): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, fix: languageAutoDetected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, sorry, only noticed it, could you open a follow-up PR, it won't be a breaking change
What it does
fix #5753: redetect languages on new grammar
How to test
Deploy Plugin by id
command -> vscode:extension/zxh404.vscode-proto3Review checklist
Reminder for reviewers