-
Notifications
You must be signed in to change notification settings - Fork 105
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
live templates stopped to work #700
Comments
Here, I discovered that it is not only the update issue but also the new Jetbrains' view. The live templates for ANTLR 2023.1.6 don't work in new UI but they work in the old one. The ANTLR doesn't appear on the context list. (I didn't check all versions between them.) EDIT: |
Maybe it will help. I checked the com.intellij.codeInsight.template.TemplateContextType in the jetbrains repository.
They were deprecated in 2022 but maybe now they work no longer. |
The new method still delegates to the old one that we override, so I don't think the problem is there. |
Wouldn't be better to put templates to "ANTLR" group instead of "user"?
And contextID also "ANTLR" or "ANTLRLex", "ANTLRv4"?
I don't know how IntelliJ plugins work, never have written any, but I
have a little experience with eclipse plugins, so I understand the key
ideas behind the process.
Unfortunately I have critical low disk space on my laptop so I cannot
compile plugin from github. Do you have any nightly build snapshot
available to test?
|
After IntelliJ update (to 2024.1) live templates stopped to work in .g4 editor. More, in settings for the live templates, they are not associated to anything and "no applicable contexts." warning appear.
BTW. Should they be grouped in generic "user" group?
The text was updated successfully, but these errors were encountered: