Search Results are no longer grouped by folder?
In IDEA 7, the search results from a 'find in path' are grouped by the folders the files reside in.
In IDEA 8 (Diana 9008) they are not.
Is this just a config option I'm missing?
Please sign in to leave a comment.
Hello Sam,
For me results look the same in 7 and 8. I just see that files in source
roots are shown under packages, not directories, so files like
source-root-1/descriptor.xml
source-root-2/descriptor.xml
are shown in results together under "default" package. Again, this is the
same in 7 and 8, but may confuse. If a file is not under a source root, its
directory is shown.
Alexander.
Alexander,
Please see attached screenshot... 8 on the left, 7 on the right.
I cannot get group-by-folder under any scenario in Idea 8 ... source directories or otherwise.
The screenshot for 8 is for a ruby project but I can't get folders for a search in a java project either.
Attachment(s):
group-by-folder-intellij-search.png
Strange, for me directories are present.
Attachment(s):
SearchResultsDirectories.JPG
FYI ... Have moved to RubyMine 472, and the folders are present.
As you said ..... strange. Perhaps if I reinstall IDEA 8 the folders will appear for me.
Just as an update to this...
I'm am now using #9732 with Ruby Plugin 2.0.225432
I do not have the lack-of-group-by-folder issue upon clean install, only when I import my settings jar.
So ... I assume there must be something amiss in that jar which prevents me from grouping by folder.
I am attaching my settings jar to try out for yourself.
I cannot explicitly say that this has anything to do with the Ruby plugin but I have not had this issue with Java projects in IDEA without the Ruby Plugin.
Attachment(s):
sam-settings.jar
Thank you, I've got it.
Find results window has an option (controlled by toolbar button): "Group by packages". This option affects both search of usages (e.g. in Java code) and search in path / files (of a string occurrence). The problem is that the toolbar button is shown only for Find Usages results. In search in path results it is not shown, but works! I didn't know about this speciality.
You have to run Find Usages for any element. Press that button on the toolbar. And then perform the search in path you need. Please try.
I've created http://www.jetbrains.net/jira/browse/IDEADEV-35759
Alexander.