Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

UI for project globs aka automatic source directories

<< < (3/9) > >>

BlueHazzard:
Is it also not desired, that the globs get automatically reloaded when new files are added in the directory? So no automatic reloading?

killerbot:

--- Quote from: BlueHazzard on February 15, 2023, 11:21:25 am ---Is it also not desired, that the globs get automatically reloaded when new files are added in the directory? So no automatic reloading?

--- End quote ---

I think this would be a very welcome addition.

Miguel Gimenez:
After commiting this feature files can't be removed from projects (I am not using globs). See this forum thread.

BlueHazzard:

--- Quote ---After commiting this feature files can't be removed from projects (I am not using globs). See this forum thread.
--- End quote ---
fixed in trunk

BlueHazzard:
I have a working test here: https://github.com/bluehazzard/codeblocks_sf/tree/fix/globs/fix_not_add_to_prj/1

@killerbot: can you test it?

Be aware:
*) I found out, that i have to add some option to add globs only to certain targets, so first work for this is in this commit also, but not functional at the moment.
*) I have not looked at the Ids yet.
*) I have added a checkbox  "Add to project" in the globs settings. This naming is not right and i will rename it in "Add files to project file". If you create a new glob this will be set by default. If you load a glob from a project file with this option not present it will be deactivated.

More work on the weekend...


[Edit:] I also saw that the comments in project file are not right...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version