PhpStorm feature request - popup info on file + clicked file moved to end of open files tab

The IDE is so great that I assume not given all the needed time to master it 🙂

Hope these is not a lack of awareness from my side in all the preferences allowed, and could be helpful to more people:

- popup on file color status info
Is so mutch info related to file using color, icons and alike that I get a striked names and I don't get the point of it...
If theres a command on menu to get a popup who "translate" the codified color info and alike to a all file related info and status, this will be great.
Also to acces the preferences dialog and tune the colors used.

- clicked open file moved to end of open files tab
When I have an open file and click to open it on project, I move to the editor window to get the info.
If, for some how, I move to other file, I've lost the point to "where's these previous open file I'm looking at?"
For my control, it was great if a clicked file to open is enough to move it to the bottom (or top - options admited 🙂) of my open files tab.

Again, Great work. It fills my day working in your IDE! ... magento forces me to it. 🙂

0
6 comments

Hi there,

popup on file color status info

I assume you are talking about VCS status. Check this page then: https://www.jetbrains.com/help/phpstorm/file-status-highlights.html#views

clicked open file moved to end of open files tab

No super sure what you mean here (I better see some screenshots that would illustrate me: "I have this, then I do this and I get this .. but I want that instead"

Anyway: I guess you are talking about this option? (the screenshot is from previous 2020.3.3)

0

Hi! Great prompt reply. Tks

About popup file info... the list you send is great to have by hand... to mutch colours, to few neurons :-)

But my situation is...

If I could click an option to get the interpretation of your list, it will be great (at least for me... sorry to waste your time if it's the case 🙂 )

 

regarding the Editor Tabs, I have these option selected, but it just work for new open files, not "re-clicked" open ones in the project tab...

Seems to me these Tab Order could have just "a few" more options 🙂

keep sorted by:

- none - new open go to start of list --> but you could re-sort it

- none - new open go to end

- keep alphabetically (a to z) - even you rename an open file...

- keep alphabetically (z to a)

- most recently viewed on editor moves to start

- most recently viewed on editor moves to end

- full path sort alphabetically (a to z)

- full path sort alphabetically (z to a)

- by kind - new open go to start of kind block

- by kind - new open go to end of kind block

 

The difference is, now the file goes to end just at the open, but not after "reviewing" an open one. 

I know: I'm making a huge list for the same options I said to have no time to know... 🙂 

But, by default, it will be something like "none - new open go to start of list". And so the behaviour will be the normal usual, for who don't needs more.

0

If I could click an option to get the interpretation of your list, it will be great (at least for me... sorry to waste your time if it's the case 🙂 )

Try selecting a file and invoking "View | Quick Documentation" on it (Ctrl+Q on Windows) -- it may show the VCS status for the file as well (sorry, no guarantee for that).

regarding the Editor Tabs, I have these option selected, but it just work for new open files, not "re-clicked" open ones in the project tab...

Sorry, could not get a clear picture of your issue. I must be got used to the current behaviour or it does not bother me at all. Although I do remember seeing some tickets some time ago (maybe a year ago) about wrong opening position of the editor tabs in some cases.

PhpStorm devs/support team should give a better answer on this.

In any case: I'm trying to use keyboard shortcuts and use stuff like "View | Recent Files" or "Navigate | Class..." / "Navigate | File..." where editor tab position is not super important because you just type the file/class name and it's right there (excluding moments with debugging some issue / new stuff / going deep into framework or library).

0

Thank you Andriy.

"View | Quick Documentation" is a basic discover, but one to me.

And I have used it, but there's no explain for my strike-through red files... the info is the same as for just red files.

 

On Editor Tabs, I'm suffering a project in magento... 165 k files online, without auto-generated code... 🙂

So is really hard to get the correct file drilling down on Project Tab. Also Favourites seems not really usefull for me.

I normally open the file and some part of the direct injection chain code. My "main file" to edit normally I pin it to keep on list...

I use extensibly the "Select Opened File" (target on top of Project) to go to same folder and get other related files.

But at any moment I could have 5 open files with name default.xml... and the last one edited could be in middle of others.

Somehow I would like to have a subset of these huge list in Project in the Editor Tab, and so easily selectable. I have to track "chain" of edit (what is the previous file I've changed?) or "chain" of code injection (what is the last file viewed?), normally defined by the order of last open from project (also if it was already open in Editor Tab).

That's where the "inteligent" fixed and constant reordering of files in Editor Tab comes in...

But, as you say, it could be an experience case solved by more knowledge of commands. 😉

0

This will not help with ordering, but might be useful.

* The IDE has "Settings/Preferences | Editor | General | Editor Tabs | Show directory for non-unique file names" option to also show a folder if more than one file with the same name is opened.

Although I'm using "Tabdir" plugin for that (on the screenshot: it works better for me + have been using it for ages).

* You can have multiple splits in the editor (since 2020.3 you can move tabs to new splits with the mouse). Maybe it will help you here as well. To see what I mean: right click on the editor tab and use "Split and Move Right"

https://www.jetbrains.com/help/phpstorm/using-code-editor.html#split_screen

* You can see all open files as a tree: just select "Open files" scope in the Project View panel instead of default Project.

* File Colors may also help (if you have some fixed scopes (folders) and you want to quickly see which scope is that by having custom editor tab color).

https://www.jetbrains.com/help/phpstorm/configuring-scopes-and-file-colors.html

* Maybe one of the plugins will also help here...

0

Thank you Andriy for your care and help!

As I said just at start, it was a great and huge IDE. Using and learning on it... 🙂 

I use my Editor Tab vertically - seems to be more optimised but trend to open lots of files (i've tried between 10 and 20 files, but found that 20 open is not manageable...)

I will give time for the scope (great tip!) and splitting (forgotten in my journey...) and after I may come with a tuned opinion. 😉 

0

Please sign in to leave a comment.