简体   繁体   English

如何区分同名文件?

[英]How to differentiate files of same name?

I am using netbeans, and working on a web application. 我正在使用netbeans,并正在使用Web应用程序。 This application has multiple pages. 该应用程序有多个页面。 Each of these pages has code which is recorded in the project as /project/web/pages/pagename/index.html/ . 这些页面中的每一个都有在项目中记录为/project/web/pages/pagename/index.html/ I would like to edit two of these files at once in netbeans. 我想在netbeans中一次编辑其中两个文件。 That I can do no issue. 那我没问题。 However, both tab names merely read "index.html". 但是,两个选项卡名称仅读取“ index.html”。

Is there a way to set it to differentiate them somehow? 有没有办法设置它以某种方式区分它们? Preferably if the tab names would list the parent folder as well, ala sublime text. 最好是,如果选项卡名称也将列出父文件夹,则为ala sublime text。

so that the tab titles would read page1/index.html and page2/index.html . 这样,标签标题将显示为page1/index.htmlpage2/index.html

Thanks 谢谢

One solution is to go tools > options > appearance > check the "show parent folder names in tab title" checkbox. 一种解决方案是转到工具>选项>外观>选中“在选项卡标题中显示父文件夹名称”复选框。

However, this is a temporary solution and is not 'intelligent'. 但是,这是一个临时解决方案,不是“智能”的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM