Skip to content

Commit

Permalink
Add "Code Spell Checker" extension
Browse files Browse the repository at this point in the history
The "Code Spell Checker" (1) extension checks for errors and also
allows to include user-defined dictionaries.
This initial commit adds custom dictionaries with some common words as
well as project and identity related words.

References:
  (1) https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker

Resolves GH-183
  • Loading branch information
arcticicestudio committed Mar 18, 2019
1 parent 55795b2 commit 898aa45
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 1 deletion.
5 changes: 5 additions & 0 deletions snowblocks/visual-studio-code/dictionaries/apps-en.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
gimp
gpick
inkscape
krita
photoshop
10 changes: 10 additions & 0 deletions snowblocks/visual-studio-code/dictionaries/code-en.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
checkboxes
dropshadow
frontmatter
mailmap
preprocessors
roadmap
sassdoc
styleguides
submodules
symlinks
3 changes: 3 additions & 0 deletions snowblocks/visual-studio-code/dictionaries/general-en.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
punctuations
subline
shrinked
9 changes: 9 additions & 0 deletions snowblocks/visual-studio-code/dictionaries/identities.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Arctic Frost Gaming
Arctic Ice Studio
arcticfrost
arcticfrostgaming
arcticicestudio
Sven Greb
svengreb
iceowl
igloo
4 changes: 4 additions & 0 deletions snowblocks/visual-studio-code/dictionaries/projects.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
icepick
nord
nord's
snowsaw
87 changes: 87 additions & 0 deletions snowblocks/visual-studio-code/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.fontSize": 20,
"update.channel": "none",
"update.mode": "none",
"update.enableWindowsBackgroundUpdates": false,
"window.enableMenuBarMnemonics": false,
"window.menuBarVisibility": "hidden",
Expand All @@ -69,6 +70,91 @@
"workbench.statusBar.feedback.visible": false,

/*+--- Extensions ---+*/
"cSpell.dictionaries": [
"apps-en-iceowl",
"apps-en-igloo",
"code-en-iceowl",
"code-en-igloo",
"general-en-iceowl",
"general-en-igloo",
"identities-iceowl",
"identities-igloo",
"projects-iceowl",
"projects-igloo"
],
"cSpell.dictionaryDefinitions": [
{
"name": "apps-en-iceowl",
"path": "/Users/sgreb/.vscode/dictionaries/apps-en.txt"
},
{
"name": "apps-en-igloo",
"path": "/home/arcticicestudio/.vscode/dictionaries/apps-en.txt"
},
{
"name": "code-en-iceowl",
"path": "/Users/sgreb/.vscode/dictionaries/code-en.txt"
},
{
"name": "code-en-igloo",
"path": "/home/arcticicestudio/.vscode/dictionaries/code-en.txt"
},
{
"name": "general-en-iceowl",
"path": "/Users/sgreb/.vscode/dictionaries/general-en.txt"
},
{
"name": "general-en-igloo",
"path": "/home/arcticicestudio/.vscode/dictionaries/general-en.txt"
},
{
"name": "identities-iceowl",
"path": "/Users/sgreb/.vscode/dictionaries/identities.txt"
},
{
"name": "identities-igloo",
"path": "/home/arcticicestudio/.vscode/dictionaries/identities.txt"
},
{
"name": "projects-iceowl",
"path": "/Users/sgreb/.vscode/dictionaries/projects.txt"
},
{
"name": "projects-igloo",
"path": "/home/arcticicestudio/.vscode/dictionaries/projects.txt"
}
],
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"go",
"handlebars",
"html",
"jade",
"javascript",
"javascriptreact",
"json",
"latex",
"less",
"markdown",
"mdx",
"php",
"plaintext",
"pub",
"python",
"restructuredtext",
"rust",
"scss",
"text",
"typescript",
"typescriptreact",
"yml"
],
"cSpell.language": "en,en-US",
"cSpell.showStatus": false,
"eslint.autoFixOnSave": true,
"docker.showExplorer": false,
"go.autocompleteUnimportedPackages": true,
Expand All @@ -82,6 +168,7 @@
"html.format.indentInnerHtml": true,
"javascript.preferences.quoteStyle": "double",
"markdown-preview-enhanced.enableExtendedTableSyntax": true,
"markdown-preview-enhanced.scrollSync": true,
"markdown.preview.breaks": true,
"markdown.preview.doubleClickToSwitchToEditor": false,
"markdown.preview.fontFamily": "-apple-system, BlinkMacSystemFont, Inter, sans-serif",
Expand Down
8 changes: 8 additions & 0 deletions snowblocks/visual-studio-code/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
"igloo": "css"
}
},
"~/.vscode/dictionaries": {
"create": true,
"force": true,
"hosts": {
"iceowl": "dictionaries",
"igloo": "dictionaries"
}
},
"~/.config/Code/User/snippets": {
"create": true,
"force": true,
Expand Down
3 changes: 2 additions & 1 deletion snowflakes/visual-studio-code/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"Prisma.vscode-graphql",
"redhat.vscode-yaml",
"rust-lang.rust",
"shd101wyy.markdown-preview-enhanced"
"shd101wyy.markdown-preview-enhanced",
"streetsidesoftware.code-spell-checker"
]

0 comments on commit 898aa45

Please sign in to comment.