Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

intellij question how do I find a file.

 
Ranch Hand
Posts: 680
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use eclipse but now I am trying out intellij, as is the way with software, its not a one size fits all. In eclipse I select search in filename I can put the name of the file, filename.java select search in the search window, it will come up , just cick on it, it will open, you can even right click and show in package.

I cant seen to fund anything similar in intellij
 
Saloon Keeper
Posts: 24595
168
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Assuming that the Android IDE is sufficiently like vanilla IntelliJ, you should be able to right-click on the project in the project explorer pane and select "Find in Path..."

That's primarily for doing a multi-file text search, but it might help.
 
Tony Evans
Ranch Hand
Posts: 680
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its like its gone out ogf its way to not be like eclipse, and eclipse is very user friendly
 
Tim Holloway
Saloon Keeper
Posts: 24595
168
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not just multi-file find. The find-within-file function is now pretty awful.

This is especially annoying because traditionally one of the big selling (literal) points about IntelliJ was that it was so helpful for common application development. So mucking up search/replace, which is one of THE most common editing functions really stinks.

On top of that, Android development can put a severe hurt on system performance and I'm not running a Pentium 250 here.
 
Marshal
Posts: 8145
572
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know in which way you exactly used search functionality, but in IntelliJ IDEA you can search within:

Edit -> Find -> Find in Files
a. project
b. module
c. directory

or
d. file

In particular about the files. If I know the filename, I'd normally navigate first to a file "cmd (ctrl) + shift + o" and then simply "cmd (ctrl) + f".
And if you don't know the file, then search within the project works great, and that is the feature suffice me in majority of my search uses cases.
 
Master Rancher
Posts: 4062
56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounded to me like the question was not about how to search for text, but rather, how to find a file with a particular name.  If that's the case:

Go to Navigate -> File and type the name you're looking for.  

Note also that it tells you the keyboard shortcut, which on my Mac is shift-command-N.  On Windows it's... something similar I guess.  I use this all the time, along with command-N to find a class by name.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic