eclipse method names with parenthesises
-
22-03-2021 - |
Question
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.
Solution
No. the Java content assist preferences have an option to turn off the arguments, but you still get the parenthesis.
OTHER TIPS
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow