Hello, when a user makes a file/tab active by switching to it, it would be nice if the plugin could activate the associated project of that file automatically.
Currently the fastest way I know is use shortcuts to manually switch projects, and I have noticed this method is not as seamless as it may read, for example, if I forget to switch and start making changes in a file of an inactive project, then remember and switch to the project, the file view jumps to some different line I was not interacting with (this behavior might or might not be related to the recent layout bug report I made, but not sure because this is more a live thing, and that is when opening a workspace).
Thank you! :)
If a header file belongs to several project, how can we determine which project to activate?
There are some other issues, such as when the program is running or being debugged, switch the project is not possible.
Yeah, I am not sure how the first point would be doable, I was just thinking of old code completion, where it just switched project parsing, or at least the log entries mentioned that.
For the second point, yes, I agree, was not thinking of any changes in that state.
Personally, I would not like my projects switched just because I'm perusing some code in another project. I do that a lot to keep from re-creating the wheel.
Especially when I'm writing code in a new project, but glomming code in the CodeBlocks core, I wouldn't want to active the whole CodeBlocks project.
I understand, one question, does the code completion work fine as it does on active project?
I am just asking because I fear some issues I am seeing recently are just on Linux or something.. :|
Last edit: I 473 17 2024-06-11
What "code completion" process are you asking about?
Legacy CodeCompletion plugin or Clangd_client plugin?