Displaying full path of filename in tabs ~ Netbeans 6.8

只谈情不闲聊 提交于 2019-12-07 05:42:16

问题


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 :)


回答1:


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.




回答2:


Try to use following netbeans plugin.




回答3:


NetBeans 8.0.2

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

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:




回答4:


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.




回答5:


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




回答6:


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).



来源:https://stackoverflow.com/questions/2864445/displaying-full-path-of-filename-in-tabs-netbeans-6-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!