在Visual Studio的选项卡式文档界面中清理文件名? [英] Clean up file names in Visual Studio's tabbed document interface?

查看:102
本文介绍了在Visual Studio的选项卡式文档界面中清理文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio项目中,我有以下文件夹(例如)

  • foo/
  • 酒吧/
  • LongFolderName/

当我在LongFolderName中打开文件//时,如果我更喜欢LongFileName.ascx(忽略文件夹的名称),则该选项卡将标记为LongFolderName/L...me.ascx.设置标签时,是否可以将Visual Studio设置为忽略文件夹名称?

这是我的标签栏的样子:

http://img355.imageshack.us/img355/7040/tabsmn7.png

请注意,出于可读性的考虑,我的文件名如何被截断.我有"EventCalendar","MonthlyEventCalendar"和"WeeklyEventCalendar",因此很难分辨出它们之间的区别.我知道这些文件在UserControls/中.如何让VS停止告诉我?

窗口|窗口中的文件名.如果我将VS切换到MDI界面,则Windows 菜单是longfoldername/longfilename,窗口的标题也是longfoldername/longfilename.

解决方案

Tabs Studio加载项 for Visual替换内置Visual Studio选项卡的Studio不会缩短选项卡名称,并且可以选择从选项卡名称中删除路径.

Inside a visual studio project I have the following folders (for example)

  • foo/
  • bar/
  • LongFolderName/

When I open up a file in LongFolderName/ the tab gets labeled with LongFolderName/L...me.ascx when I'd prefer LongFileName.ascx (omitting the name of the folder). Any way to set Visual Studio to ignore the folder name when labeling the tab?

EDIT: here is what my tab bar looks like:

http://img355.imageshack.us/img355/7040/tabsmn7.png

Notice how the names of my files are truncated past readability. I've got "EventCalendar," "MonthlyEventCalendar," and "WeeklyEventCalendar" and as it stands its rather hard to tell the difference. I know that these files are in UserControls/. How do I get VS to stop telling me?

EDIT: The name of the file in the Window | Windows menu is longfoldername/longfilename as is the title of the window if I switch VS to MDI interface.

解决方案

Tabs Studio add-in for Visual Studio that replaces built-in Visual Studio tabs doesn't shorten tab names and has option to remove path from tab name.

这篇关于在Visual Studio的选项卡式文档界面中清理文件名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆