0 votes

Hello, I am getting into Godot with C++ libs, on Linux. But with VS Code, I can not get the intellisence work on. This is my ccppproperties.json. I have used relative or absolute paths, but nothing.
The directory path
... .vscode (Vscode config)
--- godot-cpp (from git, and libraries)
--- src (My C++ code)
--- Testing
cpp ( Godot Workspace)
--- SConstruct

"configurations": [
        "name": "Linux",
        "includePath": [
        "defines": [],
        "compilerPath": "/usr/bin/clang",
        "cStandard": "c11",
        "cppStandard": "c++17",
        "intelliSenseMode": "clang-x64"
"version": 4
asked May 5 in Projects by Cristian (16 points)

1 Answer

+1 vote

Are you working off an external drive? Your path suggests as such, which is fine - just wanted to make sure that's what you're doing to ensure your paths are correct. Additionally, ensure the external drive is mounted when running this.

If not, you may want to chance to something like /home/Documents/...

answered May 5 by GodotRobot (26 points)

Yeah, I am working in a external drive. But I have figured out hot to enable the intellisence.
0) This is on linux (Ubuntu)
1) In VS Code settings add this:

"clang.cxxflags": [
"-I/yourlocation/godot-cpp/godot_headers", // header files
"-I/yourlocation/godot-cpp/include", // Include

and on ccppproperties.json, also add

"/yourlocation/godot-cpp/godot_headers", // header files
"/yourlocation/godot-cpp/include", // Include

Thank you!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.