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

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

  1. https://thewerffreport.com Avatar

    References:

    Seminole hard rock casino tampa

    References:
    https://hipstrumentals.net/darell40205028

  2. phoebe.roshka.com Avatar

    References:

    Online casino reviews

    References:
    http://git.yanei-iot.com:600/emilieefa97124

  3. vydiio.com Avatar

    References:

    Blackjack and hookers

    References:
    https://lasigal.com/amyfloyd072285

  4. profmustafa.com Avatar

    References:

    Silver nugget casino

    References:
    https://maru.bnkode.com/@jeffereybrett

  5. git.cyberuk.me Avatar

    References:

    Play roulette for fun

    References:
    https://gitea.biboer.cn/victorinaclaud

  6. tubepeer.com Avatar

    References:

    Chuzzle deluxe game

    References:
    https://git.scinalytics.com/pmbnilda220675

  7. https://profmustafa.com/ Avatar

    References:

    Hollywood casino bay st louis

    References:
    https://hiwifi.denq.us:8418/fayesemmens09

  8. play.ophirstudio.com Avatar

    References:

    Harrington raceway and casino

    References:
    https://m.madeu.co.kr/drusilla218468

  9. datingmywish.com Avatar

    References:

    Diamond jo casino

    References:
    https://syq.im:2025/rochellevincen

  10. http://git.qniao.cn Avatar

    References:

    Holland casino scheveningen

    References:
    https://www.ttd.group/yasminhowland8

  11. fikfab.net Avatar

    References:

    Casino di venezia

    References:
    https://git.autotion.net/mohammedgosse

  12. tfjiang.cn Avatar

    References:

    Hollywood casino bay st louis

    References:
    http://repo.magicbane.com/rosalind97t834

  13. deltasongs.com Avatar

    References:

    Hillbilly casino

    References:
    https://beatsong.app/johniemckeon97

  14. git.0935e.com Avatar

    References:

    Sun palace cancun

    References:
    https://git.kooera.com/beatrice43i06

  15. https://mginger.org Avatar

    References:

    William hill mobile casino

    References:
    https://lius.familyds.org:3000/paulinabalcomb

  16. spnewstv.com Avatar

    References:

    Sky vegas promo codes

    References:
    https://gitiplay.com/@tonyaharding2?page=about

  17. click this link Click Here browse this site news going here bonuses hop over to here find out here now read linked here read what he said additional resources investigate this site extra resources blog link Avatar

    I like what you guys are up also. Such smart work and reporting! Keep up the superb works guys I’ve incorporated you guys to my blogroll. I think it will improve the value of my website :).

  18. git.archieri.fr Avatar

    References:

    Russian roulette online game

    References:
    https://code.dsconce.space/yasminhenderso

  19. https://www.godhip.com Avatar

    References:

    Downstream casino joplin mo

    References:
    https://isugar-dating.com/@garrettforsyth

  20. www.nemusic.rocks Avatar

    References:

    Potawatomi casino milwaukee

    References:
    https://aeterna.cim.mcgill.ca/doyle27443813

  21. https://actsolution.iptime.org/ Avatar

    References:

    Valley view casino center san diego

    References:
    https://git.paulll.cc/josedunshea22

Leave a Reply

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