mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #8991 from catwasd/catwasd/ignoring-files-clion
Configure ignoring object and library files in CLion
This commit is contained in:
@@ -81,3 +81,21 @@ You can now build, run, debug, profile, and Valgrind check the Godot editor via
|
|||||||
:align: center
|
: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.
|
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 |
Reference in New Issue
Block a user