Code Completion in Virtual Machine

General questions regarding the usage of CodeLite
Netzschleicher
CodeLite Enthusiast
Posts: 14
Joined: Fri Aug 13, 2010 10:45 pm
Genuine User: Yes
IDE Question: C++
Contact:

Code Completion in Virtual Machine

Post by Netzschleicher » Fri Aug 23, 2019 4:58 pm

Hello everyone,

I have an issue with CodeLite 13 working in a Virtual Machine. When i open a Project, the Workspace was parsing, but Code Completion doesn't work. The Projectfolder is a shared Folder from my Host Machine. If i copy the Project to a local Folder in the Virtual Machine, Code Completion works very fine.

Is this a similar issue as in?:

Code: Select all

https://forums.codelite.org/viewtopic.php?f=11&t=4273&p=17925#p17925
Host Machine: Debian Buster 64Bit

Virtual Machine: Virtualbox 5.2.30 with Debian Buster 64Bit

Is there any Workaround or Solution?

CodeLite 12 worked fine in my last Virtual Machine.

Thanxs to all.

User avatar
eranif
CodeLite Plugin
Posts: 5931
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code Completion in Virtual Machine

Post by eranif » Fri Aug 23, 2019 11:19 pm

The default CodeLite completion engine does not work with shared folders (sqlite limitation)
You can enable the Language Server to make it work (this is how I work)
https://wiki.codelite.org/pmwiki.php/Ma ... uageServer
Make sure you have read the HOW TO POST thread

Netzschleicher
CodeLite Enthusiast
Posts: 14
Joined: Fri Aug 13, 2010 10:45 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code Completion in Virtual Machine

Post by Netzschleicher » Sun Aug 25, 2019 12:32 pm

Thank you very much. I configure the Language Server and now ist works fine.

One thing, that was not really important, that i missed is how to get the Textcoloring like the 'standard' Code Completion?

Post Reply