Ivan Gretsky Posted December 14, 2021 Share Posted December 14, 2021 Good evening (at least here where I'm at))! Wireframe has a lot of files named the same way (default.php). When working with multiple files in an IDE (read "all the time") it is hard to distinguish between tabs as they are all named the same. At least it is in VS Code due to this issue. I am used to give files meaningful (bul long) names. I used to have templates/views/home/home.view.php instead of templates/views/home/default.php. Files are better searcheable this way too. Do you know any workarounds? Could it be worth it to have default filenames in Wireframe have configurable patterns, so that something like templates/views/home/home.view.php was possible? 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted December 14, 2021 Share Posted December 14, 2021 2 hours ago, Ivan Gretsky said: At least it is in VS Code I've seen some hacks / config settings for VSCode to display at least the parent folder of a file. Never tried or used them... but maybe still worth trying to look into this. Just an example: https://stackoverflow.com/questions/39598007/showing-path-in-file-tabs-in-visual-studio-code 1 1 Link to comment Share on other sites More sharing options...
teppo Posted December 14, 2021 Share Posted December 14, 2021 5 hours ago, Ivan Gretsky said: Wireframe has a lot of files named the same way (default.php). [....] Could it be worth it to have default filenames in Wireframe have configurable patterns, so that something like templates/views/home/home.view.php was possible? Agreed, this is kind of annoying. I don't run into this too often nowadays since I tend to keep only those files open which I currently work on — and usually all of them are visible at the same time, with the editor split into 2-5 columns/rows — but your suggestion makes sense to me. I'll look into this ? 1 Link to comment Share on other sites More sharing options...
Robin S Posted December 15, 2021 Share Posted December 15, 2021 Not a solution for VSCode but just for comparison... PhpStorm automatically adds the parent folder to the tab label as soon as two files are open with the same name. It's a nice feature. 3 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted December 15, 2021 Author Share Posted December 15, 2021 13 hours ago, wbmnfktr said: I've seen some hacks / config settings for VSCode to display at least the parent folder of a file. Never tried or used them... but maybe still worth trying to look into this. Just an example: https://stackoverflow.com/questions/39598007/showing-path-in-file-tabs-in-visual-studio-code I've checked it out. I turned out I was wrong, and tabs in VS code already do it out of the box (actually just like PHP Storm as on @Robin S's screens): and you can configure it even more)) But the paths look so small I didn't notice them. And sometimes they still are not explicit enough. But maybe I just need to get used to this. 3 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted December 15, 2021 Author Share Posted December 15, 2021 10 hours ago, teppo said: I don't run into this too often nowadays since I tend to keep only those files open which I currently work on — and usually all of them are visible at the same time, with the editor split into 2-5 columns/rows What is your monitor size?))) 3 Link to comment Share on other sites More sharing options...
teppo Posted December 25, 2021 Share Posted December 25, 2021 On 12/15/2021 at 10:45 AM, Ivan Gretsky said: What is your monitor size?))) 15 inch MacBook Pro, no external monitors. I'm used to pretty small print — cranking the resolution setting to max space and then decreasing the font size a few times works wonders ? 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now