Erlang Plugin for NetBeans in Scala#9: Instant Rename and Go to Declaration
Caoyuan Blog - - February 19, 2009It 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:
- Instant Rename is implemented by ErlangInstantRenamer.scala
- Go to Declaration is implemented by ErlangDeclarationFinder.scala
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
Erlang on Twitter
» User_4574 (Nathan Lasseter): Dear Haskell, your pattern matching sucks. Go talk to Erlang, he’ll tell you how to do it right. That is all. Thanks.
» YSI_JAMBI (YSI Chapter JAMBI): Oyoy pening galo hhha RT @doni_erlang
» dooridho (Ridho Septiansyah): Hhaa datangla boy,texas “@doni_erlang: @dooridho : bukan,maulid td na dtg dak kw?”
» dooridho (Ridho Septiansyah): Dtglah boy? Kau ngapo dak pernah les lg? “@doni_erlang: @dooridho : kw td datang dak?”
» dooridho (Ridho Septiansyah): Apo boy? “@doni_erlang: Boy @dooridho”
» xHamidR (Hamid): Frans maakt mij echt boos altijd moet k erlang voor leren
» takabow (takabow♨): RT @bestjobsonline: Senior Erlang Engineer - relo to SF available - http://t.co/BaKJm1J3 #jobs #CyberCodersEngineering #NewYork
» kuenishi (UENISHI Kota): RT @bestjobsonline: Senior Erlang Engineer - relo to SF available - http://t.co/BaKJm1J3 #jobs #CyberCodersEngineering #NewYork
» obin94 (Muhhamad obin): saya dan dewa erlang sedang menuju ke langit untuk bertemu dewa hujan.
Statistics
Number of aggregated posts: 10456
Number of comments: 1446
Most recent article: February 06, 2012
Latest comments
» vindisesl on Pretend This Optimization Doesn't Exist: I completely agree with you. I really like this article. It contains a lot of useful information. I can set…
» simple smile on Scale means Skills: Very informative article. Pretty sure people would love to go to that place for shopping. Specially to those who are…
» simplesmile on 27 January 2012: Erlang Solutions embarks on an Erlang Embedded KTP: Your article will make the world better. Thanks again and good luck to you in your life. See you next time.simplesmile