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

Configure ignoring object and library files in CLion
This commit is contained in:
Matthew
2025-01-21 17:18:40 -05:00
committed by GitHub
3 changed files with 18 additions and 0 deletions

View File

@@ -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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB