Tuesday, June 4, 2013

NetBeans IDE Keyboard Shortcuts

Keyboard Shortcuts - NetBeans

  • Alt + Shift + F for auto format
  • Ctrl + K for previously used matching word
  • Ctrl + arrowkeys for scroll without caret position change
  • Ctrl + P for function parameters tooltip. Applicable inside a function call's paranthesis
  • Ctrl + Shift + Right/Left Arrow to select words based on camel casing
  • Ctrl + Shift + (UP/DOWN ) duplicate line up/down
  • Ctrl + E deletes the current line (very useful)
  • Ctrl + F9 Evaluate expression (Very useful while debugging - apart from the value of variables displayed on hover)
  • Alt + Shift + O Goto file
  • Ctrl + Space (after a class name) for auto-suggested variable names
  • Ctrl + F4 Close Editor Window
  • Alt + F7 Find Usages
  • Ctrl + / Toggle Comment
  • Shift + Ctrl + I Fix all Imports (Very convenient)
  • Ctrl + Del and Ctrl + BackSpace Delete next/previous word
--------------------------------------------------------------------------------------------- Look in your netbeans directory Mine is in C:\Program\NetBeans 6.8\nb6.8 There you find a document called shortcuts.pdf This has a lot of the most common shortcuts and is included (and updated i assume) in every release of netbeans. The one feature i use the most is CTRL + Click to navigate to method declaration etc. Shift + Esc : Maximize the editor window, very handy Alt + Enter : Activate quick fix and allow to deal with it without having to move your hands from keyboard to mouse again and again Ctrl + ";" : Inserts a semicolon at the end of the current line Ctrl + Shift + ";" : Inserts a semicolon at the end of the current line and insert a new one "View menu : Synchronize with view" to synchronize the editor and the project explorer panel Ctrl+Shift+1 - will show you the current file in projects window. handy shortcut: Ctrl+E deletes current line. --------------------------------------------------------------------------------------

Keyboard Shortcuts not specified in shortcuts.pdf (ALT+hALT+k) as of NetBeans v7.0.1:

Diff view: next diff: CTRL + . previous diff: CTRL + , apply diff left to right: wish I knew, seems not to exist apply diff right to left: ditto Create shortcut for custom ant target: Go to Files tab: CTRL + 2 Navigate to ant file: Arrow keys Go to Navigator window: CTRL + 7 Navigate to ant target: Arrow keys Open context MENU Create Shortcut... ----------------------------------------------------------------------------------------------- Each window has its own shortcut:

Ctrl+0 Switches to the Editor Ctrl+1 Focuses on the Projects Window Ctrl+2 Focuses on the Files Window Ctrl+3 Focuses on the Favorites Window Ctrl+7 Focuses on the Navigator Window Alt+Shift+O Opens the Open Type window where you just have to type the first characters of the class you are looking for Ctrl+Shift+Down Duplicates the current line Ctrl+R Renames the current variable/class/method

Highlights of NetBeans IDE 7.3 Keyboard Shortcuts & Code 
Keyboard Shortcuts - NetBeans 
NetBeans IDE 4.1 Keyboard Shortcuts
Top 10 NetBeans IDE Keyboard Shortcuts
NetBeans Shortcut Keys
java - NetBeans shortcut key for collapsing/expanding a method
Highlights of NetBeans IDE 7.2 Keyboard Shortcuts 
10 Handy Editor Shortcuts in NetBeans IDE 6.0 
Two NetBeans Keyboard Shortcuts 
Searches related to netbeans shortcut keys
netbeans system out shortcut
netbeans keyboard shortcuts
netbeans comment selection
netbeans 7 shortcut keys
netbeans shortcuts
netbeans shortcut keys mac
netbeans shortcut keys for system out println
netbeans 6.1 shortcut keys

No comments:

Post a Comment