Sublime Forum

Tabs Fixed width issue

#1

In the previous old version, modify

Data\Packages\Default\set_unsaved_view_name.py
line = view.line(0)
if line.size() > 9: //50 to 9
line = sublime.Region(0, 9) //50 to 9

can fix the maximum width of tabs not more than 9 characters, now it is not working,
how to solve this problem

0 Likes

#2

There seems to be no solution?
Can’t fix the tab width when opening a file with a very long file name
https://superuser.com/questions/1315318/how-to-change-the-width-of-file-tabs-in-sublime-text

0 Likes

#3

Editing that file and changing the if statement and region call still works for me in ST build 4150

0 Likes

#4

Should say open the file name is too long file, tabs width display problems, at present I found this plug-in (https://github.com/mattst/sublime-set-name-of-unsaved-buffer), have not tried

0 Likes