TAB key is not working on NetBeans
Hi I used to use Eclipse as my IDE for java. I am starting using NetBeans now. I used TAB key to get out of parenthes开发者_高级运维es or brackets in Eclipse. Which key do I need to use for NetBeans? I don't want to use an arrow key to pass parentheses or brackets.
Thank you.
Use the ENTER key
Here is the solution:
Go to Tools-->Options-->KeyMap
Inside the keyMap tab there is seach field type the following inside the box:
Insertion Point to Next Word
Then in the shortcut field double click to edit the value
Finally you can put any key you want including the TAB key!
Note: It is recommended to use a combination of a hot key like SHIFT or CTRL with another key to avoid the overwriting that may occur.
For that situation, perhaps if you are here--
System.out.println("Hello world."!);
once your cursor is where the "!" is, you can press ";" and netbeans will put it at the end of the line.. usually works for any grouping symbols (with the exception of double quotes).
精彩评论