user261616
user261616

Reputation:

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 parentheses 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.

Upvotes: 2

Views: 7405

Answers (3)

Tyler James
Tyler James

Reputation: 33

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

Upvotes: 0

Mofleh
Mofleh

Reputation: 31

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.

Upvotes: 3

John Doe
John Doe

Reputation: 867

Use the ENTER key

Upvotes: 3

Related Questions