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
Step to reproduce (not always possible to get this issue):
AutoCompletion inserts TemplateCompletion to the text area by user choice and it properly position the cursor regarding the template description: func(${cursor}).
User moves cursor buy right arrow/end button to the end of inserted string.
User press Enter and nothing happens and assistance do not finish completion insert operation.
Expected that the operation will be finished and cursor will be positioned to the new line.
Note1: It happens very rare but if happens there is no way to unblock assistance. We close the window with text area and open new one.
Note2: We use TemplateCompletion but not FunctionCompletion with the special purpose and understand the possibility of both of them.
I would appreciate any help or suggestion.
Code example we use in project:
DefaultCompletionProvider provider = new DefaultCompletionProvider();
provider.addCompletion(new TemplateCompletion(provider,"func","func(A)","func(${cursor})"));
...
...
JTextArea textArea = new JTextArea();
AutoCompletion initialization:
AutoCompletion ac = new AutoCompletion(provider);
ac.install(textArea);
ac.setAutoCompleteEnabled(true);
ac.setAutoActivationEnabled(true);
ac.setShowDescWindow(true);
ac.setParameterAssistanceEnabled(true);
ac.setAutoCompleteSingleChoices(false);
ac.setAutoActivationDelay(500);
The text was updated successfully, but these errors were encountered:
Step to reproduce (not always possible to get this issue):
Expected that the operation will be finished and cursor will be positioned to the new line.
Note1: It happens very rare but if happens there is no way to unblock assistance. We close the window with text area and open new one.
Note2: We use TemplateCompletion but not FunctionCompletion with the special purpose and understand the possibility of both of them.
I would appreciate any help or suggestion.
Code example we use in project:
DefaultCompletionProvider provider = new DefaultCompletionProvider();
provider.addCompletion(new TemplateCompletion(provider,"func","func(A)","func(${cursor})"));
...
...
JTextArea textArea = new JTextArea();
AutoCompletion initialization:
AutoCompletion ac = new AutoCompletion(provider);
ac.install(textArea);
ac.setAutoCompleteEnabled(true);
ac.setAutoActivationEnabled(true);
ac.setShowDescWindow(true);
ac.setParameterAssistanceEnabled(true);
ac.setAutoCompleteSingleChoices(false);
ac.setAutoActivationDelay(500);
The text was updated successfully, but these errors were encountered: