Erlang Plugin for NetBeans in Scala#9: Instant Rename and Go to Declaration

Caoyuan Blog - - February 19, 2009

It seems I’m the only one who is committing to hg.netbeans.org/main/contrib these days. Anyway.

Implementing Instant Rename and Go to Declaration is not difficult with AstDfn/AstRef/AstScope. Here is the code:

And register them in :

 override def getInstantRenamer = new ErlangInstantRenamer override def getDeclarationFinder = new ErlangDeclarationFinder

Only local function definitions can be traveled to at this time. To jump to remote function definitions, I have to implement an indexer first.



Categories: Blogs  Caoyuan Blog  

Comments

No comments so far, you could be the first.

Add comment

Name:

Email:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?