Search code examples
linuxwindowsmacosmatlabmacos-high-sierra

File name on matlab script editor window title in detached mode


I prefer to code in Matlab script editor using it detached from the main window. Below you can see just the script window:

enter image description here

The window title shows the file full path. Is it possible to show just the filename? How?

Side question: How can I know which file is being edited?


Solution

  • The top bar displays the complete path which is actually a useful feature in my opinion. You cannot have only the filename in the detached editor unless by modifying the underlying Java (which will very likely breach MathWorks Software License Agreement).

    Only tabs show just the filename in the main editor (not detached editor). If your tabs are hidden in the main editor, you can fix that by:

    View → Tab Position → Top (or any other position as per your choice)


    When a file is being edited (and not saved yet), an asterisk (*) appears next to it on both its tab and the top bar.