User forums > Using Code::Blocks

Per project opened files

<< < (2/4) > >>

scarphin:
Cannot the names of active files be saved in some list (maybe the project file?) and then reloaded back when the target/project is switched?

oBFusCATed:
It is doable, but someone has to do it :)

cacb:
In general this is a good idea, but if implemented it MUST be optional. I often read files from other projects when programming.

The main problem I have detected is that the number of opened files tends to increase rapidly as you work in Code::Blocks, and at some point you simply have to close all and start over. Perhaps it would be useful with a feature like "Close files from non-active projects". Likewise, one might consider a "close *.cpp files" or "close *.h files", or even "close abc*.cpp" etc. I think you get the idea: A plugin could be created that allowed easy closing of open workspace files based on user-defined rules. The rules could be defined more or less in a similar manner as when you create mail filters in Thunderbird. Call the plugin "TidyWorkspace" or something like that.

The idea is hereby donated  ;D

eranon:

--- Quote from: oBFusCATed on December 22, 2013, 08:57:24 pm ---It is doable, but someone has to do it :)

--- End quote ---

Nice ! So, could you please add it in the TODO list, Obfuscated ? ::)

And awaiting this (nothing urgent), could you tell us where this list is saved (registry, project file, workspace, appdata) ; then, we could manage a  temporary fix outside of the C::B logic...

@cacb : your idea is quite advanced, but maybe a second stage (since as Obfuscated said : "someone has to do it"), an extended one after a first "basic" plugin to just manage files sets binded with project and target.

oBFusCATed:

--- Quote from: eranon on December 23, 2013, 11:09:35 am ---Nice ! So, could you please add it in the TODO list, Obfuscated ? ::)

--- End quote ---
No, because the TODO list is my personal TODO list and contains things that I need or want to implement. This feature is not one of them, because I don't see a use case for it in my daily use of C::B.
But you can always add a feature request at the project page on berlios.de.


--- Quote ---And awaiting this (nothing urgent), could you tell us where this list is saved (registry, project file, workspace, appdata) ; then, we could manage a  temporary fix outside of the C::B logic...

--- End quote ---
Are you asking about the open file list?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version