Feature #2242 2006-05-30 06:49

mroek

Suggestion regarding project/files

If you have more than one project open (in a workspace), you can activate the one you want to work with, but all the already open files will stay open in the editor window. This means that if two (or more) projects both have files with the same name ("main.cpp", springs to mind...), you will have to distinguish which file belongs to which project manually, either by recognizing the content, by remembering the tab position at the top of the editor window, or double-clicking the file in the project-pane.

Would it be possible to have an option that automatically closes files from the inactive projects when you activate a project, and re-opens the (last used) files from the project that is being activated? The best way to solve this is perhaps to add a new right-click option, something like "Switch to project" perhaps?

Category
Interface
Status
Open
Close date
 
Assigned to
 
mortenmacfly 2006-07-21 07:44

Please note that this isn't a good default feature because people often use workspaces with projects as e.g. "library project 1", ..., "library project n" + "application project". The app project then uses and depends on the lib projects. Thus you often want (!) to have e.g. the header files of the libs open for interfacing also if you switch to the app project and back. Are you aware of: Settings->Editor->"Editor title"->Set to "relative filename" which may help in certain cases.