Răsfoiți Sursa

Merge pull request #8991 from catwasd/catwasd/ignoring-files-clion

Configure ignoring object and library files in CLion
Matthew 6 luni în urmă
părinte
comite
82ced4a8d8

+ 18 - 0
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.

BIN
contributing/development/configuring_an_ide/img/clion-ignore-object-library-files.webp


BIN
contributing/development/configuring_an_ide/img/clion-object-library-files-in-project-view.webp