Skip to content

Commit 9ebdb50

Browse files
mnemoticautofix-ci[bot]Jason3S
authored
feat: add dictionary for the GDScript scripting language (#5041)
Signed-off-by: Martin Green <4642186+mnemotic@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Jason Dent <Jason3S@users.noreply.github.com>
1 parent cffc7f4 commit 9ebdb50

25 files changed

+23427
-0
lines changed

dictionaries/gdscript/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Change Log
2+
3+
## 1.0.0
4+
5+
- Initial Release

dictionaries/gdscript/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2023-2025 Street Side Software <support@streetsidesoftware.nl>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

dictionaries/gdscript/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# CSpell GDScript Dictionary
2+
3+
GDScript dictionary for cspell.
4+
5+
This is a pre-built dictionary for use with CSpell.
6+
7+
<!--- @@inject: ../../static/requirements.md --->
8+
9+
<!--- @@inject: ./static/install.md --->
10+
11+
<!--- @@inject: ../../static/contributing.md --->
12+
13+
## License
14+
15+
MIT
16+
17+
> Some packages may have other licenses included.
18+
19+
Keywords generated using
20+
[mnemotic/gdscript-words](https://github.com/mnemotic/gdscript-words), licensed
21+
under the terms of the MIT license.
22+
23+
Code samples in the `samples/` directory taken from the [Godot demo projects
24+
repo](https://github.com/godotengine/godot-demo-projects), licensed under the
25+
terms of the MIT license.
26+
27+
<!--- @@inject: ../../static/footer.md --->

dictionaries/gdscript/checksum.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
e1c63f95d9500f586ea46eba434c9eaa2e83a1d9 dict/gdscript.txt
2+
c75ad06b7d0eda1fef1b526a2f1988c6150635c0 src/gdscript-words/gdscript.txt
3+
9027040133cc391293edbfef5486a501b3ebe123 src/gdscript.txt
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "gdscript",
3+
"version": "0.2",
4+
"name": "GDScript",
5+
"description": "GDScript dictionary for cspell.",
6+
"readonly": true,
7+
"dictionaryDefinitions": [
8+
{
9+
"name": "gdscript",
10+
"path": "./dict/gdscript.txt",
11+
"description": "GDScript dictionary for cspell."
12+
}
13+
],
14+
"dictionaries": [],
15+
"languageSettings": [
16+
{
17+
"languageId": "gdscript",
18+
"locale": "*",
19+
"includeRegExpList": [],
20+
"ignoreRegExpList": [],
21+
"patterns": [],
22+
"dictionaries": ["gdscript"],
23+
"dictionaryDefinitions": []
24+
}
25+
]
26+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/packages/cspell-tools/cspell-tools.config.schema.json
2+
3+
targets:
4+
- name: 'gdscript'
5+
sources:
6+
- filename: 'src/gdscript-words/gdscript.txt'
7+
split: true
8+
allowedSplitWords:
9+
- ../en_US/en_US.trie
10+
- ../software-terms/dict/softwareTerms.txt
11+
- filename: 'src/gdscript.txt'
12+
split: true
13+
allowedSplitWords:
14+
- ../en_US/en_US.trie
15+
- ../software-terms/dict/softwareTerms.txt
16+
format: 'plaintext'
17+
targetDirectory: './dict'
18+
generateNonStrict: false
19+
compress: false
20+
checksumFile: true

dictionaries/gdscript/cspell.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "0.2",
3+
"files": [
4+
"**/*.{md,txt}"
5+
],
6+
"dictionaries": [
7+
"gdscript"
8+
],
9+
"import": [
10+
"./cspell-ext.json"
11+
],
12+
"words": ["mnemotic", "gdscript"]
13+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Dict Directory
2+
3+
NOTE: This directory contains generated content. Please edit [src](../src/README.md) files.

0 commit comments

Comments
 (0)