Display full file name in the script editor

13 次查看(过去 30 天)
The title is basically what I want to ask. It seems dull but somehow my editor does not display the full name of m files. The file names in the multiple tabs are accompanied with "...", and it's quite annoying sometime. I guess that if I open a lot of tabs, this issue will occur to save some place. However, I only open 1-2 m files.
Thanks for your help.

采纳的回答

per isakson
per isakson 2012-12-17
If you have a narrow vertical pane with one column of file names you can drag (one of) its border to make the pane wider.
  3 个评论
per isakson
per isakson 2012-12-17
编辑:per isakson 2012-12-17
I assume that
  • the file names are stacked vertically - one above the other
  • you with the word, "pane", refer to the area in which the names are displayed.
Am I right?
Image Analyst
Image Analyst 2012-12-17
So you drag your tab wider, and it's half the screen, but the filename on the tab does not increase? It's still "inp_V..." and not the full filename?

请先登录,再进行评论。

更多回答(3 个)

Hiep Dang
Hiep Dang 2012-12-18
Thanks all for your help. I pick up from your advice and manage to find a way to sort out this problem.
1. Previously my tab names are in the bottom. And the file names are truncated with ... Even though the file names are short, and I open only one m-file.
2. I change the bar position to vertical left. Following suggestion of per isakson, I can make the bar wider to have the full name.
3. Finally, change the bar back to bottom position.
Now the file names are displayed in full.
Once again, thanks all.

Image Analyst
Image Analyst 2012-12-17
It shows the fullname if you hover the mouse over the tab. If you didn't show the base filename and showed the full path, then with a lot of tabs you'd see only the drive letter.
  3 个评论
Image Analyst
Image Analyst 2012-12-17
Mine doesn't do that. I have lots of m-files with long names, because they are descriptive, such as CameraNoiseAnalyzer.m. There's no dot dot dot until I get to a really long name like RGB_to_XYZ_transform_explanation_demo.m then it cuts off when it exceeds 29 characters: "RGB_to_XYZ_transform_explana..." but that's way longer than the 6 characters it kicks in for with you. Even so, like per says, I can position the cursor between the tabs until I get the double horizontal arrow and drag it wider and see the full name.
Hiep Dang
Hiep Dang 2012-12-18
Thanks, it's true, I found a way out for that. Have two desktop and only one experiences this annoying thing.

请先登录,再进行评论。


Diarmaid Cualain
Diarmaid Cualain 2018-7-13
I had the same issue, and the workaround fix given by Hiep Dang worked. Thanks!

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by