eXXXXXXXXXXX2
eXXXXXXXXXXX2

Reputation: 1580

eclipse method names with parenthesises

enter image description here

enter image description here

Content assist insert method names with parenthesises after pressing enter. Can I disable such inserting. I'd like that method name is inserted without brackets.

Upvotes: 0

Views: 163

Answers (2)

Franz Ebner
Franz Ebner

Reputation: 5106

There's a simple solution: Just define a variable such as

String setVisible; !

Now you can use the Eclipse content assist to insert the full Variable (Method) without brackets.

When you finish editing just comment the variable out or delete it.

Maybe you can find a table with all jFrame Methods or assemble one for your own

Upvotes: 0

Francis Upton IV
Francis Upton IV

Reputation: 19443

No. the Java content assist preferences have an option to turn off the arguments, but you still get the parenthesis.

Upvotes: 2

Related Questions