Author Topic: UI for project globs aka automatic source directories  (Read 7465 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5454
Re: UI for project globs aka automatic source directories
« Reply #30 on: May 09, 2023, 07:39:06 am »
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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #31 on: May 09, 2023, 11:38:49 pm »
Quote
The 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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #32 on: May 09, 2023, 11:58:25 pm »
Can you share a example project?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #33 on: May 15, 2023, 11:56:58 pm »
Can you test this patch?
I still need some more testing, but it is a start...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5454
Re: UI for project globs aka automatic source directories
« Reply #34 on: May 16, 2023, 08:12:43 pm »
on my first test example, which had 100% reproducibility this works ok now :-)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #35 on: May 16, 2023, 09:43:43 pm »
It would still be interesting to know why your system does this...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5454
Re: UI for project globs aka automatic source directories
« Reply #36 on: May 18, 2023, 06:40:09 pm »
indeed I also haven't found a real explanation for this. And sometimes it does not happen ..

Can you commit the patch ?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #37 on: May 19, 2023, 12:54:51 am »
There is still a issue with the fortran plugin i have to fix first...

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #38 on: May 19, 2023, 11:37:12 pm »
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?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5454
Re: UI for project globs aka automatic source directories
« Reply #39 on: May 29, 2023, 06:21:35 pm »
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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #40 on: May 29, 2023, 08:35:17 pm »
Instead of the first one...

Quote
One 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?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: UI for project globs aka automatic source directories
« Reply #41 on: June 06, 2023, 12:13:08 am »
Any updates?