February 16, 2011

stibi stibi
Lab Rat
11 posts

Open documents sorting

 

Hi,
when I have a lot of opened files from few different projects in Qt Creator, it’s little confusing to find or make something in “Open Documents” view.
What about sort these files by projects to which they belong? Is there a option/settings for this?

Could be this idea useful for somebody except me too?

7 replies

February 16, 2011

Andre Andre
Area 51 Engineer
6031 posts

I don’t think it is a good idea. You already have a view providing such a thing. A list with open files is handy, but I don’t see it become more usable by making it yet another tree representation.

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

February 16, 2011

stibi stibi
Lab Rat
11 posts

Yes, I agree that tree is not a good idea, but maybe different (background or font) color would be good :)

February 16, 2011

CreMindES CreMindES
Robot Herder
208 posts

I agree with Andre, the only time it’s confusing, when you have files that doesn’t belong to any project, for example when you look up some code that you’ve found on the net. Maybe they should be marked, but the project view is just for that you have mentioned and it’s also totally good.

February 17, 2011

reactive reactive
Lab Rat
59 posts

Related, but I think more important, is that when I close a project, QtC should close all the files from that project (or at least prompt?).

December 15, 2012

life4iran life4iran
Lab Rat
1 posts

i think it needs sort by “last opened document” order and drag-n-drop to custom sorting.

December 16, 2012

Tobias Hunger Tobias Hunger
Mad Scientist
3137 posts

It is really hard to assign files to projects. Files might belong to no project at all or to several projects at the same time. They could have belonged to a project when opened, but they could have been removed from it since then. New files might not have been assigned to their project(s) yet.

So it is tricky to put the files in any project-based order.

You can use sessions and switch between those if you want to have your files closed when switching between different tasks.

December 16, 2012

Tobias Hunger Tobias Hunger
Mad Scientist
3137 posts

@life4iran: Files are sorted by last-use in Ctrl-Tab popup.

 
  ‹‹ Qt Creator Todo/Task Plugin      Is QtCreator developed in Qt/C++ ››

You must log in to post a reply. Not a member yet? Register here!