Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cspellの設定ファイルをワークスペースから独立させる #643

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"ignorePaths": [
"maia.code-workspace",
"cspell.json",
"package.json",
"package-lock.json",
"requirements.txt",
"mkdocs.yml",
"LICENSE",
"LICENSE-CODE",
"**/.eslintrc.cjs",
"**/.prettierrc.json",
"**/openapitools.json",
"**/iis-files/**",
"**/node_modules/**",
"**/build-artifacts/**",
".vscode"
],
"words": [
"Adoptium",
"AlesInfiny",
"BIPROGY",
"Checkstyle",
"Corretto",
"drawio",
"dressca",
"Gradlephant",
"gradlew",
"Hamcrest",
"Infiny",
"Initializr",
"IntelliJ",
"JaCoCo",
"JDBC",
"linenums",
"mkdocs",
"Mockito",
"MyBatis",
"Noto",
"OpenAPI",
"Pinia",
"Pymarkdown",
"pymdown",
"SpotBugs",
"Springdoc",
"springframework",
"stylelint",
"tailwindcss",
"textlint",
"Vetur",
"webmvc",
"winbatch"
]
}
2 changes: 1 addition & 1 deletion documents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ cSpell の拡張機能をインストールしていると、 [問題] ウィン

複合語や技術用語は、辞書登録しないと誤検知されることがあります。
その場合はワークスペースの辞書に、単語を登録するようにしてください。
[maia.code-workspace] ファイルの `settings` / `cSpell.words` に単語を登録できます。
[cspell.json] ファイルの `words` に単語を登録できます。

コード内や設定ファイル内の文字など、単語登録することが望ましくないと考える場合は、以下の記事を参照して、各ページで抑制してください。
cSpell が実行されないようにするのではなく、そのページ内で使用する抑制しても良い単語を、ページの先頭に記述する方式で抑制しましょう。
Expand Down
44 changes: 0 additions & 44 deletions maia.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,6 @@
],
"settings": {
"tableformatter.common.centerAlignedHeader": false,
"cSpell.ignorePaths": [
"maia.code-workspace",
"package.json",
"package-lock.json",
"requirements.txt",
"**/node_modules/**",
"**/build-artifacts/**",
".vscode",
],
"cSpell.words": [
"Adoptium",
"AlesInfiny",
"BIPROGY",
"Checkstyle",
"Corretto",
"drawio",
"dressca",
"Gradlephant",
"gradlew",
"Hamcrest",
"Infiny",
"Initializr",
"IntelliJ",
"JaCoCo",
"JDBC",
"linenums",
"mkdocs",
"Mockito",
"MyBatis",
"Noto",
"OpenAPI",
"Pinia",
"Pymarkdown",
"pymdown",
"SpotBugs",
"Springdoc",
"springframework",
"stylelint",
"tailwindcss",
"textlint",
"Vetur",
"webmvc",
"winbatch",
],
"markdownlint.ignore": [
"LICENSE"
]
Expand Down