8 Netbeans tips to speed up development
Netbeans is a great editor, below some tips to get the best out of it.
Use the shortkey for “Last Edit Location” default: CTRL+Q
Often I’m editing file and browse to another location inside the file. To go back to where I was Last Edit Location is a nice feature, it replaces the use of ctrl-z + ctrl-y to go to the previous location without changing anything. By htting the key multiple times all edit locations will be traveled.
Use a database connection inside your project
Right click in your current document and choose “Select Database Connection” to configure the database connection. Once this connection is set-up you have auto-completion available for your queries.
Use the code navigatior
Hit ctrl+7 to open the code navigator, the code navigator contains an overview of the classes, methods, properties, variables and functions in your current open document. You can also apply filters, for exemple to hide or display non public members. A nice addition to navigate to functions is the use for “Go to symbol” open it by hitting ctrl+alt+shift+o, or “Navigate>Go to symbol…”
Use code templates
Templates can prevent to type a large string over and over again. An example of a template I often use:
“ifpost”:
if($_SERVER['REQUEST_METHOD'] == 'POST') {
or “predump” which printouts a variable dump surrounded with pre tags.
Use bookmarks to quickly navigate trough your document
Once you have set a bookmark by pressing the default shortkey (ctrl+shift+m) you can quickly navigate to the previous by pressing (ctrl+shift+,) or go to the next by hitting (ctrl+shift+.)
Customize the IDE
You may have noticed I refer to a lot of short keys, by customizing the ones you use a lot or adding short keys for other functions that don’t already have one you can save a lot of time. (For exemple commiting and updating your SVN project)
Set-up a Xdebug
A nice start can be found here on the Netbeans wiki (here). Once Xdebug is configured you can save yourself a lot of time while debugging by using variable watches, breakpoints,…
Use plugins
Although Netbeans has a lot of build-in functionality plugins can really be a good help.
Plugins I install by default:
- Path tools, copying paths, explorering paths,…
- PHP Manual Search, put the cursor on a PHP function and hit ctrl+alt+f1 or use the icon in the toolbar to go to the php.net documentation
- Subversion, can’t live without it
- Explore from here (self explaining I think)
- Editor todo highlighting, highlights the todo’s in the source code
A lot of plugins can be found here http://plugins.netbeans.org/PluginPortal/
https://t.me/Official_1xbet_1xbet/s/319
AlbertEnark
16 Oct 25 at 10:12 pm
https://t.me/Official_1xbet_1xbet/s/285
AlbertEnark
16 Oct 25 at 10:26 pm
https://t.me/Official_1xbet_1xbet/s/138
AlbertEnark
16 Oct 25 at 10:41 pm
https://t.me/Official_1xbet_1xbet/s/865
AlbertEnark
16 Oct 25 at 10:53 pm
https://t.me/Official_1xbet_1xbet/s/821
AlbertEnark
16 Oct 25 at 11:07 pm
https://t.me/Official_1xbet_1xbet/s/749
AlbertEnark
16 Oct 25 at 11:21 pm
https://t.me/Official_1xbet_1xbet/s/1034
AlbertEnark
16 Oct 25 at 11:35 pm
https://t.me/Official_1xbet_1xbet/s/314
AlbertEnark
16 Oct 25 at 11:48 pm
https://t.me/Official_1xbet_1xbet/s/1425
AlbertEnark
17 Oct 25 at 12:02 am
https://t.me/Official_1xbet_1xbet/s/1233
AlbertEnark
17 Oct 25 at 12:14 am
https://t.me/Official_1xbet_1xbet/s/1523
AlbertEnark
17 Oct 25 at 12:27 am
https://t.me/Official_1xbet_1xbet/s/806
AlbertEnark
17 Oct 25 at 12:39 am
https://t.me/Official_1xbet_1xbet/s/1441
AlbertEnark
17 Oct 25 at 12:52 am
MedicoSur: mexican mail order pharmacy – mexican pharmacy
AndrewPal
17 Oct 25 at 12:53 am
https://t.me/Official_1xbet_1xbet/s/1267
AlbertEnark
17 Oct 25 at 1:05 am
https://t.me/Official_1xbet_1xbet/s/1224
AlbertEnark
17 Oct 25 at 1:20 am
https://t.me/Official_1xbet_1xbet/s/1129
AlbertEnark
17 Oct 25 at 1:34 am
https://t.me/Official_1xbet_1xbet/s/462
AlbertEnark
17 Oct 25 at 2:01 am
https://t.me/Official_1xbet_1xbet/s/1539
AlbertEnark
17 Oct 25 at 2:15 am
https://t.me/Official_1xbet_1xbet/s/575
AlbertEnark
17 Oct 25 at 2:29 am
https://t.me/Official_1xbet_1xbet/s/1119
AlbertEnark
17 Oct 25 at 2:43 am
https://t.me/Official_1xbet_1xbet/s/175
AlbertEnark
17 Oct 25 at 2:56 am
https://t.me/Official_1xbet_1xbet/s/667
AlbertEnark
17 Oct 25 at 3:11 am
https://t.me/Official_1xbet_1xbet/s/165
AlbertEnark
17 Oct 25 at 3:25 am
https://t.me/Official_1xbet_1xbet/s/433
AlbertEnark
17 Oct 25 at 3:39 am
https://t.me/Official_1xbet_1xbet/s/1186
AlbertEnark
17 Oct 25 at 3:52 am
https://t.me/Official_1xbet_1xbet/s/891
AlbertEnark
17 Oct 25 at 4:06 am
https://t.me/Official_1xbet_1xbet/s/1015
AlbertEnark
17 Oct 25 at 4:19 am
https://t.me/Official_1xbet_1xbet/s/1107
AlbertEnark
17 Oct 25 at 4:32 am
https://t.me/Official_1xbet_1xbet/s/1174
AlbertEnark
17 Oct 25 at 4:44 am
https://t.me/Official_1xbet_1xbet/s/1178
AlbertEnark
17 Oct 25 at 4:57 am
https://t.me/Official_1xbet_1xbet/s/1491
AlbertEnark
17 Oct 25 at 5:10 am
https://t.me/Official_1xbet_1xbet/s/425
AlbertEnark
17 Oct 25 at 5:25 am
https://t.me/Official_1xbet_1xbet/s/774
AlbertEnark
17 Oct 25 at 5:40 am
https://t.me/Official_1xbet_1xbet/s/321
AlbertEnark
17 Oct 25 at 5:54 am
https://t.me/Official_1xbet_1xbet/s/1524
AlbertEnark
17 Oct 25 at 6:07 am
https://t.me/Official_1xbet_1xbet/s/1169
AlbertEnark
17 Oct 25 at 6:20 am
https://t.me/Official_1xbet_1xbet/s/618
AlbertEnark
17 Oct 25 at 6:33 am
https://t.me/Official_1xbet_1xbet/s/909
AlbertEnark
17 Oct 25 at 6:48 am
https://t.me/Official_1xbet_1xbet/s/1024
AlbertEnark
17 Oct 25 at 7:01 am
https://t.me/Official_1xbet_1xbet/s/1153
AlbertEnark
17 Oct 25 at 7:16 am
https://t.me/Official_1xbet_1xbet/s/860
AlbertEnark
17 Oct 25 at 7:28 am
https://t.me/Official_1xbet_1xbet/s/901
AlbertEnark
17 Oct 25 at 7:42 am