Skip to content

Commit bcd3277

Browse files
authored
Merge pull request #13 from tferr/patch-2
Use less restric rules for autoActivation
2 parents 57c1efb + 4c8382a commit bcd3277

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/scijava/plugins/scripteditor/jython/JythonAutocompletionProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public JythonAutocompletionProvider(final RSyntaxTextArea text_area, final Impor
5757
this.text_area = text_area;
5858
this.formatter = formatter;
5959
this.setParameterizedCompletionParams('(', ", ", ')'); // for methods and functions
60+
setAutoActivationRules(true, "."); // when using auto-activation, make it so that it occurs after any letter or '.'
6061
new Thread(ClassUtil::ensureCache).start();
6162
}
6263

0 commit comments

Comments
 (0)