From 615e1eb2f5057705b98741c1045bbdb9ce197545 Mon Sep 17 00:00:00 2001 From: logica0419 <84759675+logica0419@users.noreply.github.com> Date: Tue, 4 Jul 2023 03:54:14 +0900 Subject: [PATCH] setup cspell env --- .gitignore | 4 +++- .vscode/extensions.json | 5 +++++ .vscode/settings-sample.json | 11 +++++++++++ dev/cspell/cspell.config.yaml | 11 +++++++++++ dev/cspell/dictionary.txt | 1 + 5 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings-sample.json create mode 100644 dev/cspell/cspell.config.yaml create mode 100644 dev/cspell/dictionary.txt diff --git a/.gitignore b/.gitignore index 1d74e219..a08d1c9e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -.vscode/ +/.vscode/* +!/.vscode/settings-sample.json +!/.vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..fa475447 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "streetsidesoftware.code-spell-checker" + ] +} \ No newline at end of file diff --git a/.vscode/settings-sample.json b/.vscode/settings-sample.json new file mode 100644 index 00000000..d2cb5984 --- /dev/null +++ b/.vscode/settings-sample.json @@ -0,0 +1,11 @@ +{ + "cSpell.customDictionaries": { + "words": { + "name": "dictionary", + "path": "${workspaceRoot}/dev/cspell/dictionary.txt", + "addWords": true + }, + "custom": true, + "internal-terms": false + } +} diff --git a/dev/cspell/cspell.config.yaml b/dev/cspell/cspell.config.yaml new file mode 100644 index 00000000..5ee428a5 --- /dev/null +++ b/dev/cspell/cspell.config.yaml @@ -0,0 +1,11 @@ +$schema: https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json +version: '0.2' +dictionaryDefinitions: + - name: dictionary + path: './dictionary.txt' + addWords: true +dictionaries: + - dictionary +ignorePaths: + - 'cspell.config.yaml' + - 'dictionary.txt' diff --git a/dev/cspell/dictionary.txt b/dev/cspell/dictionary.txt new file mode 100644 index 00000000..56cb3914 --- /dev/null +++ b/dev/cspell/dictionary.txt @@ -0,0 +1 @@ +ictsc