Display full file name in the script editor

11 views (last 30 days)
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.
  1 Comment
per isakson
per isakson on 17 Dec 2012
Which release of Matlab? Here R2012a (Win7) shows the full names.

Sign in to comment.

Accepted Answer

per isakson
per isakson on 17 Dec 2012
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 Comments
per isakson
per isakson on 17 Dec 2012
Edited: per isakson on 17 Dec 2012
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 on 17 Dec 2012
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?

Sign in to comment.

More Answers (3)

Hiep Dang
Hiep Dang on 18 Dec 2012
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 on 17 Dec 2012
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 Comments
Image Analyst
Image Analyst on 17 Dec 2012
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 on 18 Dec 2012
Thanks, it's true, I found a way out for that. Have two desktop and only one experiences this annoying thing.

Sign in to comment.


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

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!