-
Notifications
You must be signed in to change notification settings - Fork 15
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
Generate one CodeAction per TemplateExtensions
class
#677
Comments
This could get fairly complex to support in combination with resolveCodeAction, since we would need to know all the possible |
Qute ls know the resolver extension. It means that you ould remove your code which retrieve templzte extension classes on jdt side and you could loop for thise revolvers to generate code action per resolver |
In this issue we will able to remove the search of existing of template extension Line 347 in 8a52980
To collect all Java resolvers class, I suggest that you do like namespaces at Line 70 in 8a52980
but it is a bad idea because:
So we need to improve ValueResolverInfo to store:
After that you will able to do like namespace and you could filter with kind and source to have a method like:
like Line 155 in 8a52980
|
For CodeActions for a missing member in a Qute template, generate one "add template extension to existing class" CodeAction for each class file that is annotated with @TemplateExtension. Closes redhat-developer#677 Signed-off-by: David Thompson <davthomp@redhat.com>
For CodeActions for a missing member in a Qute template, generate one "add template extension to existing class" CodeAction for each class file that is annotated with @TemplateExtension. Closes redhat-developer#677 Signed-off-by: David Thompson <davthomp@redhat.com>
For CodeActions for a missing member in a Qute template, generate one "add template extension to existing class" CodeAction for each class file that is annotated with @TemplateExtension. Closes redhat-developer#677 Signed-off-by: David Thompson <davthomp@redhat.com>
For CodeActions for a missing member in a Qute template, generate one "add template extension to existing class" CodeAction for each class file that is annotated with @TemplateExtension. Closes redhat-developer#677 Signed-off-by: David Thompson <davthomp@redhat.com>
We have one code action which generates a new method in an existing
TemplateExtensions
, but we should generate one code action for each existingTemplateExtensions
that isn't a binary file.See #671 (comment)
The text was updated successfully, but these errors were encountered: