Where did you find this? easy feature request

I often have two files of the same name, or a file that IntelliJ has
found deep in the bowels of code I did not write.  I would like to
know the absolute file name of where it found that code.

It will be nice if when I right clicked a tab, there was an option to
display the fully qualified filename of where it found that text.
--
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is
"If you change this, remember to change ?XXX? too".

9 comments
Comment actions Permalink

full path  is shown in the window title

0
Comment actions Permalink

There's quite nice plugin that allows you to have directory names added to tab labels in case there are multiple files with same names opened.
Take a look: http://plugins.intellij.net/plugin/?idea&id=5997

0
Comment actions Permalink

You don't need a plugin for that. Settings | Editor | Editor Tabs | [x] Show directory in editor tabs for non-unique filenames

0
Comment actions Permalink

Not quite what you are looking for but you can also configure an External Tool to open the file in whatever file manager appropriate for your OS. Also, like someone already mentioned the full path is shown in the title bar, also it is shown in the navigation bar.

This will configure an External Tool to reveal the file in Finder on a Mac (should also work on Linux or any unix flavor that has the open command). It will be available in the Tools menu. Also, you can assign a keystroke to it in Keymap settings. You could probably do the same thing in windows with explorer.exe.

Screen Shot 2012-03-15 at 9.08.13 AM.PNG

0
Comment actions Permalink

Have a look at these (not exactly what you you are after, but close):

  1. "Edit | Copy Path" will place full path into your clipboard
  2. "Navigate | File Path" will show you nice popup menu where you can see where file is and each folder is presented as separate menu entry so you can jump there very quickly (in Explorer / Finder or whatever you have there).
  3. If you right click on file/folder in Project View, you will find "Show in Explorer/Finder/etc" entry -- you can add it to the Editor Tab Popup menu for quick jump to that file in your OS file manager.
0
Comment actions Permalink

Just to add one more additonal piece of information to the discussion...

Guest wrote:

It will be nice if when I right clicked a tab, there was an option to
display the fully qualified filename of where it found that text.

No right click needed. Just hover your pointer over the tab and a tooltip with the module name and the full quaified file path appears after a second. (At least on Windows.)

There is also a very useful plug-in called File Info that will show you a ton of information. It also provides easy copying to the clipboard of some information. I find it use to grab the fully qualified class name when I need it at times. One note, when I first installed it years ago, its default key mapping clashed with some standard IDEA mappings. So you will likely want to change those if that is still the case.

screenshot.png

0
Comment actions Permalink

On Thu, 15 Mar 2012 16:37:34 MSK, "M. J. Milicevic"
<no_reply@jetbrains.com> wrote, quoted or indirectly quoted someone
who said :

>full path  is shown in the window title

I never noticed that. However, the left-most 17  characters are
truncated. On my screen there is tons of room so there is no need to
chop.  It is usually the left most characters that are most
mysterious.
--
Roedy Green Canadian Mind Products
http://mindprod.com
One of the most useful comments you can put in a program is
"If you change this, remember to change ?XXX? too".

0
Comment actions Permalink

Hmm... not really. Out-of-the-box functionality shows only parent folder, which means that if you've got "src/main/conf/log4j.xml" in 2 modules it shows "conf/log4j.xml" for all tabs, while the addon I've linked shows (for instance) "[module1] log4j.xml" and "[module2] log4j.xml" (if src folders for both modules are located in module1 and module2 folders that is).

0
Comment actions Permalink

Don't you see the tooltip on the tab title, which displays full path? The "Copy path" action is also useful (Ctr+Shift+C).

Sylvain


0

Please sign in to leave a comment.