Function and struct shared in the workspace

General questions regarding the usage of CodeLite
cheina97
CodeLite Curious
Posts: 9
Joined: Sun Oct 08, 2017 1:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

Function and struct shared in the workspace

Post by cheina97 »

Goodmorning.
I've made a specific workspace for my University cours.
Inside this workspace i'm making a project for each exercise, but i noticed that projects in the same workspace share the declared functions.
For example if i declare a function called printm in a project when i will write printm in another project codelite will show me that function.
Is there a way to isolate each project and not share functions and struct?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Function and struct shared in the workspace

Post by eranif »

You can disable the default code completion and enable only clang code completion:

settings->code completion->clang
and enable both options on this page:
enable clang
only use clang code completion

Please, always state your CodeLite version and OS
Make sure you have read the HOW TO POST thread
cheina97
CodeLite Curious
Posts: 9
Joined: Sun Oct 08, 2017 1:17 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Function and struct shared in the workspace

Post by cheina97 »

Sorry, my version is 10.0.0 on windows 10.
Thank you for all.
Post Reply