News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

UI for project globs aka automatic source directories

Started by BlueHazzard, February 04, 2023, 12:14:53 AM

Previous topic - Next topic

killerbot

there is no code generation.
The files are there, the project is open, a file is open in the editor pane, edit in the file, save --> editor gets closed.

BlueHazzard

QuoteThe files are there, the project is open, a file is open in the editor pane, edit in the file, save --> editor gets closed.
I can not reproduce this...
I have also tried to switch save strategy with no difference
What operating system?


Only as i thought when the file gets deleted and regenerated.

BlueHazzard


BlueHazzard

Can you test this patch?
I still need some more testing, but it is a start...

killerbot

on my first test example, which had 100% reproducibility this works ok now :-)

BlueHazzard

It would still be interesting to know why your system does this...

killerbot

indeed I also haven't found a real explanation for this. And sometimes it does not happen ..

Can you commit the patch ?

BlueHazzard

There is still a issue with the fortran plugin i have to fix first...

BlueHazzard

Can you test this second patch? Specially code completion and so on...
Also it would be interesting, if you could test if you specifically remove the link project file tick in file->properties->build and if this still is persisted in your case
I think this would not work, and i do not think there is a solution for this...
Are you using windows? Are you using some sync application on the source files?

killerbot

this patch replace the previous one, or is top of the previous one.

One thing I have noticed, that after a compile, or other actions, CB crashed a a lot since I applied the first patch.
Will inspect next time the crash xml.

BlueHazzard

Instead of the first one...

QuoteOne thing I have noticed, that after a compile, or other actions, CB crashed a a lot since I applied the first patch.
yea, this are my worries.... The problem is i can not test this as elaborate as you, because i can not reproduce... If you could attach a debugger or a trace it would be nice. I suspect the code completion plugin? Can you try to disable it and see if the crashes repeat?

BlueHazzard


LJL_Houben

Quote from: BlueHazzard on February 11, 2023, 09:31:37 PM
Quick and dirty wiki article...
i do not know how to describe it better:
https://wiki.codeblocks.org/index.php/Automatic_source_paths

I'm trying to find the 'Automatic source paths...' option. When I don't see it and I'm running the latest binairy release (20.03 windows) version, is this a bug or do I need to install something?

With kind regards


Ludo

Miguel Gimenez

This was added after 20.03; You will find it in a recent nightly or in the upcoming release.