Skip to content

Commit 82ced4a

Browse files
authored
Merge pull request #8991 from catwasd/catwasd/ignoring-files-clion
Configure ignoring object and library files in CLion
2 parents c3cdf60 + 79322b9 commit 82ced4a

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

contributing/development/configuring_an_ide/clion.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,21 @@ You can now build, run, debug, profile, and Valgrind check the Godot editor via
8181
:align: center
8282

8383
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.
84+
85+
Ignoring object and library files
86+
-----------------------------------
87+
88+
After building Godot in CLion, you may see the object and library files showing up in the **Project** view.
89+
90+
.. figure:: img/clion-object-library-files-in-project-view.webp
91+
:align: center
92+
93+
You can configure CLion to ignore those files:
94+
95+
- Open CLion and navigate to **Preferences > Editor > File Types > Ignored Files and Folders**
96+
- Click the **+** button to add ``*.o`` and ``*.a`` to the list. In Windows, you would add ``*.obj`` and ``*.dll``.
97+
98+
.. figure:: img/clion-ignore-object-library-files.webp
99+
:align: center
100+
101+
Now, the files should be ignored in the Project view.

0 commit comments

Comments
 (0)