Skip to content

CLion IDE Setup Docs Lacks Code Completion Configuration #11137

@jmielc2

Description

@jmielc2

Your Godot version:
NA

Issue description:
When following the documentation to setup the CLion IDE for godot development, the project was not properly configured as the docs suggested it would be.

Then, open the Godot root directory with CLion. CLion will import the compilation database, index the codebase, and provide autocompletion and other advanced code navigation and refactoring functionality.

This did not happen for me. To enable code completion features, I had to find the CMakeLists.txt file located in the platform/android/java/nativeSrcsConfigs directory, right click, and select Load CMake Project for the IDE to properly index the repo. This added an additional godot build configuration which I simply deleted. I've left a comment on the page with this note, but maybe updating this line could save someone some time digging around the internet on how to get IntelliSense to work for SCons projects in CLion.

URL to the documentation page:
https://docs.godotengine.org/en/stable/contributing/development/configuring_an_ide/clion.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:contributingIssues and PRs related to the Contributing/Development section of the documentationbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions