Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to find usage in Forge sources with IntelliJ IDEA?


LemADEC
 Share

Recommended Posts

I'm used to Eclipse where I can directly search for a method through my mod and Forge itself with a full text search, it's not perfect but it does the job.

Now, I'm giving a try to IntelliJ IDEA and I can't find a way to search through Forge source.

The global search doesn't go through Forge sources. The 'find usage' just stop at my mod, unlike in Eclipse where it actually go through Forge sources too.

I did a setupDecompWorkspace on my mod and forge itself before importing them through grade into IntelliJ IDEA.

 

What am I missing?

 

I'm on Mac with forge 1.7.10 and IntelliJ IDEA 2016.1.2.

Link to comment
Share on other sites

When you first run Find Usages, you should get a dialog box asking you what types of usages to search for and where to search. Change the Scope to "Projects and Libraries" to search in the project and its libraries (including Forge).

 

You can also bring up this dialog box from Edit > Find > Find Usages Settings... or by clicking the Settings button in the Find Usages result window.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.