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:

  1. Path tools, copying paths, explorering paths,…
  2. 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
  3. Subversion, can’t live without it
  4. Explore from here (self explaining I think)
  5. Editor todo highlighting, highlights the todo’s in the source code

A lot of plugins can be found here http://plugins.netbeans.org/PluginPortal/

Comments

583 responses to “8 Netbeans tips to speed up development”

  1. flirta.online Avatar

    References:

    Presque isle downs and casino

    References:
    https://shamrick.us/maryellennall9

  2. git.rmarl.in Avatar

    References:

    Hard rock casino vegas

    References:
    https://www.atmasangeet.com/rita51u4562938

  3. unired.zz.com.ve Avatar

    References:

    Three rivers casino

    References:
    https://mambotango.it/lucile80668363

  4. binance Registrera Avatar

    I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  5. 注册 Avatar

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://accounts.binance.info/fr/register-person?ref=T7KCZASX

  6. auto aanmelden Avatar

    Hello there! I know this is kind of off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!

  7. binance Avatar

    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://accounts.binance.com/es/register-person?ref=RQUR4BEO

  8. binance h"anvisning Avatar

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://accounts.binance.com/si-LK/register?ref=LBF8F65G

  9. Binance账户创建 Avatar

    Your article helped me a lot, is there any more related content? Thanks!

  10. binance sign up bonus Avatar

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  11. najlepsí binance odkazov'y kód Avatar

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://www.binance.info/sl/register?ref=I3OM7SCZ

  12. uchkombinat.com.ua Avatar

    References:

    Casinoer med høj udbetaling for uerfarne

    References:
    https://bandori.party/user/856836/climbbucket8/

  13. git.daoyoucloud.com Avatar

    References:

    Sikker gevinst udbetaling online casino

    References:
    https://git.wikiofdark.art/vivianmattocks

  14. chenxil.top Avatar

    References:

    Hvor får man den højeste casino udbetaling

    References:
    https://gitea.nacsity.cn/madgerubensohn

  15. https://git.winscloud.net/ Avatar

    References:

    Bedste platforme til casino gevinster

    References:
    https://gitea.nacsity.cn/candyvalley55

  16. git.csi-kjsce.org Avatar

    References:

    Bedste danske casinoer med høj tilbagebetaling

    References:
    http://globaldream.or.kr/bbs/board.php?bo_table=sub08_02&wr_id=318767

  17. suryapowereng.in Avatar

    References:

    Casinoer med mest værdi

    References:
    https://git.123doit.com/francinedaddar

Leave a Reply

Your email address will not be published. Required fields are marked *