Displaying full path of filename in tabs ~ Netbean

2019-04-30 01:09发布

I can't seem to find a way in the options to display the full path of the file at the title of the tab. I can hover over it to see it, but it would be nice to see it at a glance.

There is a SU question about it also, https://superuser.com/questions/88637/netbeans-how-to-view-file-full-path-in-window-title-or-somewhere-else

Does anyone have a solution for this to actually display it? I can see there is a custom .jar for it in the RC2 Netbeans, but that's probably way old now.

PS, I should mention that a path relative to the project would be ideal, as well as a full path. Either really :)

6条回答
戒情不戒烟
2楼-- · 2019-04-30 01:32

In Netbeans 6.9.1 (at least) you can open the Window/Properties window and pin it under the editor; this will contain the full path in the "All Files" property which is then visible at all times and always contains the current editor file's properties.

查看更多
淡お忘
3楼-- · 2019-04-30 01:36

Try using CTRL+TAB, you can find the path in status bar. This is not complete solution for your question but using keyboard (without using mouse atleast) you can find the path of the open file(s).

查看更多
ゆ 、 Hurt°
4楼-- · 2019-04-30 01:40

Try to use following netbeans plugin.

查看更多
贼婆χ
5楼-- · 2019-04-30 01:43

You can also 'Select in --> [Project|Files|Favorites]. This opens the exposes the node for the file in the Projects, Files or Favorites explorer.

To do this, right click in the text editor for the file you are interested in; the 'Select in' item is near the bottom of the menu that appears.

查看更多
你好瞎i
6楼-- · 2019-04-30 01:47

Starting from NetBeans 6.9 you can use the NetBeans extention "show path in title":

http://plugins.netbeans.org/plugin/42000/show-path-in-title

it's very helpful :D

查看更多
劳资没心,怎么记你
7楼-- · 2019-04-30 01:53

NetBeans 8.0.2

Tools > Options > Appearance > Document Tabs > Show full file path

enter image description here

The full path will appear only for the active tab (under the tabs), but you can also check "Show parent folder name in tab title" if you want to see the parent folder for every tab:

enter image description here

查看更多
登录 后发表回答