开发者

TAB key is not working on NetBeans

开发者 https://www.devze.com 2022-12-19 00:14 出处:网络
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?

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

精彩评论

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