Browse Source

Merge pull request #11138 from jmielc2/update-clion-docs-with-intellisense-config

Update CLion IDE Setup Docs with Code Completion Configuration
Matthew 1 week ago
parent
commit
7f614afaad
1 changed files with 7 additions and 1 deletions
  1. 7 1
      contributing/development/configuring_an_ide/clion.rst

+ 7 - 1
contributing/development/configuring_an_ide/clion.rst

@@ -15,7 +15,13 @@ CLion can import a project's `compilation database file <https://clang.llvm.org/
 
     scons compiledb=yes
 
-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.
+Then, open the Godot root directory with CLion and wait for the project to be fully
+indexed. If code completion, parameter information, or refactoring are not enabled,
+you will need to load the project with CMake. To do this, find the ``CMakeLists.txt``
+file in the ``platform\android\java\nativeSrcsConfigs`` directory, right click and
+select :button:`Load CMake Project`. Once the project reloads, a ``godot`` build configuration
+will be added. This configuration can be safely deleted as the CMake file will not
+build the project and only exists for loading the project in JetBrains IDEs.
 
    .. note:: Windows Users: