summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-09-11 20:28:44 +0200
committerGitHub <noreply@github.com>2021-09-11 20:28:44 +0200
commit9d629fa7fb9f3d69395ba49d6fb80186f8d6a789 (patch)
tree0e8a7cfd98a3c094e3688ca62ac5eb85df182c9c /doc/classes
parent60ed3fbf658e6338be6505410a7fed289dec500b (diff)
parent9c6ae95cb2a44dcc3235b896252c7dadabfe533d (diff)
Merge pull request #52574 from Calinou/doc-configfile-extension
Document that ConfigFiles can use any file extension
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ConfigFile.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/ConfigFile.xml b/doc/classes/ConfigFile.xml
index d6da4bc248..249e2a8f80 100644
--- a/doc/classes/ConfigFile.xml
+++ b/doc/classes/ConfigFile.xml
@@ -86,6 +86,7 @@
[/codeblocks]
Keep in mind that section and property names can't contain spaces. Anything after a space will be ignored on save and on load.
ConfigFiles can also contain manually written comment lines starting with a semicolon ([code];[/code]). Those lines will be ignored when parsing the file. Note that comments will be lost when saving the ConfigFile. This can still be useful for dedicated server configuration files, which are typically never overwritten without explicit user action.
+ [b]Note:[/b] The file extension given to a ConfigFile does not have any impact on its formatting or behavior. By convention, the [code].cfg[/code] extension is used here, but any other extension such as [code].ini[/code] is also valid. Since neither [code].cfg[/code] nor [code].ini[/code] are standardized, Godot's ConfigFile formatting may differ from files written by other programs.
</description>
<tutorials>
</tutorials>