-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
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