NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Programatically doing 'Find Usages"

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
sundud



Joined: 14 Nov 2016
Posts: 9

PostPosted: Mon Nov 14, 2016 6:46 pm    Post subject: Programatically doing 'Find Usages" Reply with quote

Hi Folks,

Pardon my newbie questions:

Background: i am writing a new search plugin for Java development (please correct if this is not the right forum)

1. Specifically, i am requesting suggestions for sample/open source code for "Find Usages". I wish to provide some additional user action based on the search results.

2. Once the user clicks on a particular field (i have that working using the sample CopyFQNAction plugin), i would like to display a new button.

Use case:

User selects any java.util.logging.Logger.log() statements in a Java file and the code should find all instances of similar log() statements in all the open projects (same as what is being done by 'Find Usages'. However, rather than display these in the Usage output window, i want to analyze the statement and provide logging recommendations to the user.

Thanks,
Sunil
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo