You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly I want to thank you for the Track preprocessor block feature of Code Completion. It really saves hours of reading the source codes.
I'm trying to distinguish the difference between preprocessor of Workspace Level and Project Level. Is there any rule for the priority of macro? I read the page Using clang code-completion with CodeLite but still confusing :(
For example, I have one Workspace with two projects (e.g P1, P2), P1 and P2 are two parts of an embedded system project) and below macros inside source codes:
SUPPORT_A=y
SUPPORT_B=y
SUPPORT_C is turned off
SUPPORT_D is turned on in P1 but turned off in P2
by using Track preprocessor block feature, I checked the option inside Settings | Code Completion | Colouring | Track preprocessor blocks.
Then I paste the macro set into Workspace Settings|Code Completion
and the result with SUPPORT_A, SUPPORT_B, SUPPORT_C works well for both P1 and P2. But SUPPORT_D now shows up at both P1,P2 if I set SUPPORT_D=y in Workspace Level.
Can current CodeLite support such feature that SUPPORT_D is disabled in P2 but active in P1?
My CodeLite is 12.0.4 - Windows 7 x64
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
Firstly I want to thank you for the
Track preprocessor block
feature of Code Completion. It really saves hours of reading the source codes.I'm trying to distinguish the difference between preprocessor of Workspace Level and Project Level. Is there any rule for the priority of macro? I read the page Using clang code-completion with CodeLite but still confusing :(
For example, I have one Workspace with two projects (e.g P1, P2), P1 and P2 are two parts of an embedded system project) and below macros inside source codes:
by using Track preprocessor block feature, I checked the option inside Settings | Code Completion | Colouring | Track preprocessor blocks.
Then I paste the macro set into Workspace Settings|Code Completion
and the result with SUPPORT_A, SUPPORT_B, SUPPORT_C works well for both P1 and P2. But SUPPORT_D now shows up at both P1,P2 if I set SUPPORT_D=y in Workspace Level.
Can current CodeLite support such feature that SUPPORT_D is disabled in P2 but active in P1?
My CodeLite is 12.0.4 - Windows 7 x64
The text was updated successfully, but these errors were encountered: