If I create a new C++ console project, CodeLite creates two files (main.cpp & test.project) in the project dir (e. g. C:\myworkspace\testproject\). But in the Workspace View in the IDE, the structure looks like this:
Code: Select all
myworkspace
|-testproject
|- src
|- main.cpp
To create the real folder "classes" on the disk directly inside the project dir (so it would be "C:\myworkspace\testproject\classes"), I have to create the virtual folder by right-click on the project entry ("testproject", which is the parent entry of the "src" entry), so it looks like this in the Workspace View:
Code: Select all
myworkspace
|-testproject
|- classes
|- src
|- main.cpp
Looking at the structure in the Workspace View, one would expect to have the files and folders on disk like this:
Code: Select all
C:\myworkspace\testproject\classes\
C:\myworkspace\testproject\src\main.cpp
Code: Select all
C:\myworkspace\testproject\classes\
C:\myworkspace\testproject\main.cpp
I think it would make more sense, if the Workspace View in CodeLite would show the structure the same way, as it is on disk (and especially wouldn't use that strange "src" virtual folder), like this:
Code: Select all
myworkspace
|-testproject
|- classes
|- main.cpp