14 NetBeans Web Development Tips in 7 Minutes
Thursday, May 29, 2014 |Recently, Geertjan Wielenga, Principal Product Manager in the Oracle Developer Tools group, posted a video on his blog showing "14 NetBeans Web Development Tips in 7 Minutes", which showed off several nice tips for the IDE (#1 and #5 are my favorites). If you’re like me, sometimes you don’t have (or don’t want to make) time to watch a video, so I thought I’d make a table of contents for the video, with links to relevant portion of it for those that would like to read the list and watch only the parts that interest them.
Tip | Video Link | |
---|---|---|
1 |
You can quickly drag and drop resources from the Projects window into HTML files |
|
2 |
You can use predefined code templates to generate chunks of HTML. Press TAB to expand the template |
|
which can be easily configured and you can create new ones. |
||
3 |
"scr" expands to "script", which has a hidden feature: code completion when you press Ctrl-Space. |
|
4 |
Hold down the CTRL key and the selected references is a hyperlink that can be clicked to open the file. |
|
5 |
Select the content of a tag and press CTRL-R, if you want to change both sides of the tag at once. |
|
6 |
Ctrl-Shift-Up/Down and Alt-Shift-Up/Down copy/move lines up and down. |
|
7 |
Splitting a document window is easy… |
|
…and you can also drag a document to split the editor area. |
||
8 |
Use the Options window to configure the editors for all the languages you use. |
|
9 |
You can change the tab position, e.g, make all the tabs in the editor be displayed in the bottom of the editor. |
|
10 |
The Terminal Window can be very useful. No need to switch of NetBeans to the command line anymore. |
|
11 |
Each HTML5 project integrates with the standard HTML5 technologies, e.g., SASS, Cordova, Karma, etc. |
|
12 |
Block selection lets you change code across multiple lines. |
|
13 |
Press Ctrl-Shift-Enter to create a "notepad look and feel", i.e., a very simplified version of the IDE, without toolbars, etc. |
|
14 |
Want to see the spaces and tabs? That can be done too. |
If you have time, of course, watch the whole thing. If you’d just like to see the list of tips, there you have it. :)