mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Document that .gdignore files' contents are ignored
This commit is contained in:
@@ -52,7 +52,7 @@ extensions must be ``gd`` and ``cs`` respectively.
|
||||
.. note:: The script templates have the same extension as the regular script
|
||||
files. This may lead to an issue of a script parser treating those templates as
|
||||
actual scripts within a project. To avoid this, make sure to ignore the
|
||||
directory containing them by creating a ``.gdignore`` file. The directory won't be
|
||||
directory containing them by creating an empty ``.gdignore`` file. The directory won't be
|
||||
visible throughout the project's filesystem anymore, yet the templates can be
|
||||
modified by an external text editor anytime.
|
||||
|
||||
|
||||
@@ -85,10 +85,11 @@ This can be useful to speed up the initial project importing.
|
||||
command prompt: ``type nul > .gdignore``
|
||||
|
||||
Once the folder is ignored, resources in that folder can't be loaded anymore
|
||||
using the ``load()`` and ``preload()`` methods.
|
||||
using the ``load()`` and ``preload()`` methods. Ignoring a folder will also
|
||||
automatically hide it from the FileSystem dock, which can be useful to reduce clutter.
|
||||
|
||||
Ignoring a folder will also automatically hide it from the FileSystem dock,
|
||||
which can be useful to reduce clutter.
|
||||
Note that the ``.gdignore`` file's contents are ignored, which is why the file
|
||||
should be empty. It does not support patterns like ``.gitignore`` files do.
|
||||
|
||||
.. _doc_project_organization_case_sensitivity:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user