Groovy in NetBeans – Go To Declaration

Let’s have a look at another editor feature. Often you want to navigate from one variable to its declaration which can be pages higher in the code. In that case Go To Declaration hyperlink action invoked by combination of mouse click + Command key (Mac) or Ctrl might help. In this example cursor would jump on ‘list’ field definition.

gotodeclaration.png

This entry was posted in Groovy, NetBeans. Bookmark the permalink.

5 Responses to Groovy in NetBeans – Go To Declaration

  1. Stefan says:

    Great work! Can’t wait for a stable Groovy support in Netbeans 6.5 …

  2. chinaBoy says:

    Bug?

    It it cost me half an hour when I open a grails project that contain a lot of controller.
    The state bar show the follow infomation all the time :
    Indexing D:\(my project path)
    Scanning D:\(my project path)

    sorry my poor english!
    wish you understand my meaning.

    Keep up the good work, Martin!

  3. Martin Adamek says:

    @chinaBoy: ok, let’s solve it in issuezilla: http://www.netbeans.org/issues/show_bug.cgi?id=141895

  4. kodeninja says:

    Hey Martin!

    Gr8 work! I’m currently playing around with the latest 6.5 build and the Groovy support looks good.

    Will you be providing support for the Groovy 1.6 release when 6.5 GA comes out?

    Also, the Groovy options tab under Options allows the Groovy path tp be set but that is not the one eventually used. It uses only the bundled 1.5.5 jar. Is this a bug?

    And, when is the debugger support coming out?

    Cheers!
    Kodeninja

  5. Martin Adamek says:

    @ kodeninja:
    - Groovy 1.6 – will see, depends if Groovy will be final and if internals will change a lot
    - option – that has to be cleared still
    - well, there is something already, but I am not sure if it will make in FCS, maybe only on update center