User forums > Using Code::Blocks
File manager and refactoring
cacb:
--- Quote from: Phumus-9 on February 18, 2019, 01:12:55 pm ---Just a method to insert a new folder would be needed, so that I can drag and drop the files I want to move in that folder, without having to remove and re-add them.
--- End quote ---
I saw you didn't want to use virtual folders, but why not? I find they are very flexible and allow files to be organised without physically moving the files around. For this reason I use virtual folders in C::B projects much more than actual disk folders.
Phumus-9:
--- Quote from: cacb on February 18, 2019, 03:16:26 pm ---
--- Quote from: Phumus-9 on February 18, 2019, 01:12:55 pm ---Just a method to insert a new folder would be needed, so that I can drag and drop the files I want to move in that folder, without having to remove and re-add them.
--- End quote ---
I saw you didn't want to use virtual folders, but why not? I find they are very flexible and allow files to be organised without physically moving the files around. For this reason I use virtual folders in C::B projects much more than actual disk folders.
--- End quote ---
Hi cacb, I don't use them because I'd like to have coherence between the actual structure of the project and what I see in the IDE. Btw at the moment I'm using virtual folders because my project is small, but I think that if it was a big one using them could lead to problems in the organization of the files.
dmoore:
--- Quote from: Phumus-9 on February 18, 2019, 01:12:55 pm ---I agree that my PC's file manager is highly specialized, and I'm ok with creating the main structure of my project with it. But it happens quite frequently that I have to do minor changes to the structure, and there is where an integrated file manager would be very useful.
--- End quote ---
There is one under the files tab. Also, for an open project you can right click on the project icon in the project tab and select "open in file browser" to see the directory where the project resides in the files tab:
Which looks like this.
You can move files around etc. but you will still need to update the project manually afterwards.
Phumus-9:
--- Quote from: dmoore on February 23, 2019, 05:43:41 pm ---
--- Quote from: Phumus-9 on February 18, 2019, 01:12:55 pm ---I agree that my PC's file manager is highly specialized, and I'm ok with creating the main structure of my project with it. But it happens quite frequently that I have to do minor changes to the structure, and there is where an integrated file manager would be very useful.
--- End quote ---
There is one under the files tab. Also, for an open project you can right click on the project icon in the project tab and select "open in file browser" to see the directory where the project resides in the files tab:
Which looks like this.
You can move files around etc. but you will still need to update the project manually afterwards.
--- End quote ---
Thank you for the tip!
By the way I'm getting used to do it manually and actually it is not a big deal, except for changing the #include "..." directives.
Inviato dal mio SM-G950F utilizzando Tapatalk
Navigation
[0] Message Index
[*] Previous page
Go to full version