User forums > Using Code::Blocks

Per project opened files

(1/4) > >>

eranon:
Hello,

Is there a way I don't know to have different files opened according to the active project in a workspace ?

For example, say I have a workspace with two projects called App1 and App2. I would like to have app1.cpp opened when App1 is active and app2.cpp + app2.h when App2 is active.

scarphin:
Once I was in need of the same thing but with different targets instead of projects but it wasn't possible at the time and needed implementation.

eranon:
Ouch ! So, it sounds like we (knowing I'm not a C::B dev too) have a feature request here.

Please, killer C::B Team, could you implement such a thing : keep reference of opened files per project and target through two checkboxes in general settings ?

scarphin:
That would be nice and very useful really.

oBFusCATed:
Unfortunately this is not possible and someone should implement it. The easiest way would be to make a plugin.
It would have been good if it would be possible to implement this feature with a script, but unfortunately there is no way to connect functions to events in squirrel.
At least there is no info in the documentation in the wiki about events.

Navigation

[0] Message Index

[#] Next page

Go to full version