diff --git a/contributing/development/configuring_an_ide/clion.rst b/contributing/development/configuring_an_ide/clion.rst index 2a715f2db..44cc8d964 100644 --- a/contributing/development/configuring_an_ide/clion.rst +++ b/contributing/development/configuring_an_ide/clion.rst @@ -81,3 +81,21 @@ You can now build, run, debug, profile, and Valgrind check the Godot editor via :align: center When playing a scene, the Godot editor will spawn a separate process. You can debug this process in CLion by going to **Run > Attach to process...**, typing ``godot``, and selecting the Godot process with the highest **pid** (process ID), which will usually be the running project. + +Ignoring object and library files +----------------------------------- + +After building Godot in CLion, you may see the object and library files showing up in the **Project** view. + +.. figure:: img/clion-object-library-files-in-project-view.webp + :align: center + +You can configure CLion to ignore those files: + +- Open CLion and navigate to **Preferences > Editor > File Types > Ignored Files and Folders** +- Click the **+** button to add ``*.o`` and ``*.a`` to the list. In Windows, you would add ``*.obj`` and ``*.dll``. + +.. figure:: img/clion-ignore-object-library-files.webp + :align: center + +Now, the files should be ignored in the Project view. diff --git a/contributing/development/configuring_an_ide/img/clion-ignore-object-library-files.webp b/contributing/development/configuring_an_ide/img/clion-ignore-object-library-files.webp new file mode 100644 index 000000000..169b202ea Binary files /dev/null and b/contributing/development/configuring_an_ide/img/clion-ignore-object-library-files.webp differ diff --git a/contributing/development/configuring_an_ide/img/clion-object-library-files-in-project-view.webp b/contributing/development/configuring_an_ide/img/clion-object-library-files-in-project-view.webp new file mode 100644 index 000000000..7a7a9b05c Binary files /dev/null and b/contributing/development/configuring_an_ide/img/clion-object-library-files-in-project-view.webp differ