开发者

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:

  1. Go to Tools-->Options-->KeyMap

  2. Inside the keyMap tab there is seach field type the following inside the box:

    Insertion Point to Next Word

  3. Then in the shortcut field double click to edit the value

  4. 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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜