Coming Up for Air

14 NetBeans Web Development Tips in 7 Minutes

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

watch

2

You can use predefined code templates to generate chunks of HTML. Press TAB to expand the template

watch

which can be easily configured and you can create new ones.

watch

3

"scr" expands to "script", which has a hidden feature: code completion when you press Ctrl-Space.

watch

4

Hold down the CTRL key and the selected references is a hyperlink that can be clicked to open the file.

watch

5

Select the content of a tag and press CTRL-R, if you want to change both sides of the tag at once.

watch

6

Ctrl-Shift-Up/Down and Alt-Shift-Up/Down copy/move lines up and down.

watch

7

Splitting a document window is easy…​

watch

…​and you can also drag a document to split the editor area.

watch

8

Use the Options window to configure the editors for all the languages you use.

watch

9

You can change the tab position, e.g, make all the tabs in the editor be displayed in the bottom of the editor.

watch

10

The Terminal Window can be very useful. No need to switch of NetBeans to the command line anymore.

watch

11

Each HTML5 project integrates with the standard HTML5 technologies, e.g., SASS, Cordova, Karma, etc.

watch

12

Block selection lets you change code across multiple lines.

watch

13

Press Ctrl-Shift-Enter to create a "notepad look and feel", i.e., a very simplified version of the IDE, without toolbars, etc.

watch

14

Want to see the spaces and tabs? That can be done too.

watch

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

tags: NetBeans HTML5

Quotes

Sample quote

Quote source