You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke code assist at "|", highlight the first suggestion (groovyBean) and use "." (the dot) instead of Enter to accept the proposal: completion is not performed.
This is not coherent, I use "." a lot to accept completion proposals, either in Java or in Groovy.
Please note that if you try to following (more complex) case, it works instead:
b.url =newMyBe|
Invoke code assist at "|" and use "." to accept the MyBean() suggestion: completion is performed as expected.
The text was updated successfully, but these errors were encountered:
Here are the current trigger characters, in case you think there are some keys missing. For any case you run into that these are not causing the completion to be applied, the code is missing a call to setTriggerCharacters.
/** Triggers for method proposals without parameters. Do not modify! */publicstaticfinalchar[] METHOD_TRIGGERS = { ';', ',', '.', '[', ' ', '\t' };
/** Triggers for method proposals. Do not modify! */publicstaticfinalchar[] METHOD_WITH_ARGUMENTS_TRIGGERS = { '(', '{', '-', ' ' };
/** Triggers for types. Do not modify! */publicstaticfinalchar[] TYPE_TRIGGERS = { ';', '.', '=', '[', '(', ' ', '\t' };
/** Triggers for variables. Do not modify! */publicstaticfinalchar[] VAR_TRIGGER = newchar[] { ';', '.', '=', '[', '(', '{', ' ', '\t' };
Consider the following Java class:
The following Groovy class:
And the following class:
Invoke code assist at "|", highlight the first suggestion (
groovyBean
) and use "." (the dot) instead of Enter to accept the proposal: completion is not performed.This is not coherent, I use "." a lot to accept completion proposals, either in Java or in Groovy.
Please note that if you try to following (more complex) case, it works instead:
Invoke code assist at "|" and use "." to accept the
MyBean()
suggestion: completion is performed as expected.The text was updated successfully, but these errors were encountered: