Closed natalie-csky closed 10 months ago
Also, I don't know why there are so many empty lines that count as modified ¯_(ツ)_/¯
You probably have turned on this editor setting?
I actually didn't know that this settting exists. Will probably enable it as well.
Regarding your PR: Isn't this already an editor setting? I found this one:
For me, paths are only shown when I have multiple tabs with the same name: and:
Yea, you are right, I didn't know that setting existed. And it was set to Parent Directory and Name for me, so it always was showing the folder names. Thank you for telling me, will close the PR.
Hi again, I added a setting so that you can hide the folder names shown in tabs. E.g. "script-ide/plugin.gd" would become "plugin.gd" This nets you quite a lot of real estate when you have long folder names and don't have a need for them being displayed.
I did some guesswork on how your new editor settings code works, but I think what I did works fine. It should correctly display in the script-ide editor settings tab and checking/unchecking the new hide_folder_names setting should be immediately reflected in the editor.