[Feature Request] Virtual Folders for Projects
-
- CodeLite Enthusiast
- Posts: 32
- Joined: Sat Oct 04, 2008 4:06 am
- Contact:
[Feature Request] Virtual Folders for Projects
Hi Eranif
I like to know if you ever (or others) considered Virtual Folders for projects? Let's say I have 15 projects in my Workspace. Wouldn't it be nice to be able to put some projects into sub project folders? What do you think how much effort that needs to do so and which files are important to get in touch to start?
Yaakuro
I like to know if you ever (or others) considered Virtual Folders for projects? Let's say I have 15 projects in my Workspace. Wouldn't it be nice to be able to put some projects into sub project folders? What do you think how much effort that needs to do so and which files are important to get in touch to start?
Yaakuro
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Feature Request] Virtual Folders for Projects
I never considered that, I know that VS supports it.
I assume here that you are talking about a virtual folder for the workspace level (i.e. the virtual folders are children of the workspace and may contain projects)
To start implementing this, you should look at Plugin/workspace.cpp and Plugin/project.cpp
I assume here that you are talking about a virtual folder for the workspace level (i.e. the virtual folders are children of the workspace and may contain projects)
To start implementing this, you should look at Plugin/workspace.cpp and Plugin/project.cpp
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 32
- Joined: Sat Oct 04, 2008 4:06 am
- Contact:
Re: [Feature Request] Virtual Folders for Projects
Yes, virtual folder in the workspace level. So would that be interesting to have? It would help to organize projects visually a bit more.
You have any suggestion how to keep the workspace backwards compatible? Let's say if CodeLite 9.3 would support it but if one opens the workspace file with older version of CodeLite?
Yaakuro
You have any suggestion how to keep the workspace backwards compatible? Let's say if CodeLite 9.3 would support it but if one opens the workspace file with older version of CodeLite?
Yaakuro
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Feature Request] Virtual Folders for Projects
Yes and it willYaakuro wrote:So would that be interesting to have?
We can't. If a CodeLite without this feature will attempt to open a workspace with virtual folders - it will ignore them and will load only projects which are a direct children of the workspaceYaakuro wrote:You have any suggestion how to keep the workspace backwards compatible?
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: [Feature Request] Virtual Folders for Projects
As I understand,
instead of creating project in a virtual folder child (in config),
adding a new properties link to the virtual folder would allow old codelite to open it.
so instead of natural:
you may do
instead of creating project in a virtual folder child (in config),
adding a new properties link to the virtual folder would allow old codelite to open it.
so instead of natural:
Code: Select all
<workspace>
<VirtualFolder>
<project> </project>
//...
</VirtualFolder>
<project> </project> // Normal project
// ..
<workspace>
Code: Select all
<workspace>
<VirtualFolder></VirtualFolder>
<project InsideVirtualFolder="virtualForderIdOrName" > </project>
<project> </project> // Normal project
// ..
<workspace>
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Feature Request] Virtual Folders for Projects
Great ideaJarod42 wrote:As I understand,
instead of creating project in a virtual folder child (in config),
adding a new properties link to the virtual folder would allow old codelite to open it.
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 32
- Joined: Sat Oct 04, 2008 4:06 am
- Contact:
Re: [Feature Request] Virtual Folders for Projects
How complicated is this? Is it possible to add this feature to next release of CodeLite?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Feature Request] Virtual Folders for Projects
Please post a feature request on GitHub
Not *that* complicated...
but there is definitely some work
Not *that* complicated...
but there is definitely some work
Make sure you have read the HOW TO POST thread
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Feature Request] Virtual Folders for Projects
I started working on this and it appears to be more complicated as I first thought it would be
So there is no way of avoiding it, but this means that an older versions of CodeLite will not be able to open a workspace that contains their projects inside a virtual folder.
A possible solution to allow users with different versions of CodeLite to work is to provide some kind of an export mechanism
This approach can not work with the expected user flow:instead of creating project in a virtual folder child (in config),
adding a new properties link to the virtual folder would allow old codelite to open it
- User right click on the workspace or on a workspace folder and selects "New Folder"
- Right click on the "Workspace Virtual Folder" brings a context menu with various options such as "Create new project"
So there is no way of avoiding it, but this means that an older versions of CodeLite will not be able to open a workspace that contains their projects inside a virtual folder.
A possible solution to allow users with different versions of CodeLite to work is to provide some kind of an export mechanism
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: [Feature Request] Virtual Folders for Projects
An other possibility would be to have an extra separated entry to manage the hierarchy...