Skip to content

Commit

Permalink
Update default vscode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-cooney authored Oct 23, 2023
1 parent 17afa01 commit a8f606d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 18 deletions.
12 changes: 9 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/workspaces/CircuitsVis/python/.venv/bin/python",
"python.formatting.autopep8Path": "autopep8",
"python.linting.mypyPath": "mypy"
"mypy.dmypyExecutable": "mypy"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
Expand All @@ -35,8 +34,12 @@
"donjayamanne.python-extension-pack",
"eg2.vscode-npm-script",
"esbenp.prettier-vscode",
"github.copilot",
"github.vscode-pull-request-github",
"ionutvmi.path-autocomplete",
"mikoz.autoflake-extension",
"ms-python.isort",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter-keymap",
Expand All @@ -48,9 +51,12 @@
"richie5um2.vscode-sort-json",
"rvest.vs-code-prettier-eslint",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker-british-english",
"streetsidesoftware.code-spell-checker",
"tushortz.python-extended-snippets",
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"matangover.mypy",
"github.vscode-github-actions"
]
}
},
Expand Down
13 changes: 13 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"language": "en,en-GB",
"words": [
"circuitsvis",
"Colab",
"Colord",
"crossorigin",
"devcontainer",
"Interpretability",
"ndarray",
"NPMJS"
]
}
29 changes: 28 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
{
"recommendations": [
"2gua.rainbow-brackets",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"davidanson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"donjayamanne.githistory",
"donjayamanne.python-extension-pack",
"eg2.vscode-npm-script",
"esbenp.prettier-vscode",
"github.copilot",
"github.vscode-pull-request-github",
"ionutvmi.path-autocomplete",
"mikoz.autoflake-extension",
"ms-python.isort",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.jupyter",
"ms-vsliveshare.vsliveshare-pack",
"njpwerner.autodocstring",
"redhat.vscode-yaml",
"richie5um2.vscode-sort-json",
"rvest.vs-code-prettier-eslint",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker"
"streetsidesoftware.code-spell-checker-british-english",
"streetsidesoftware.code-spell-checker",
"tushortz.python-extended-snippets",
"yzhang.markdown-all-in-one",
"matangover.mypy",
"github.vscode-github-actions"
]
}
26 changes: 12 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"rewrap.autoWrap.enabled": true,
"eslint.packageManager": "yarn",
"eslint.workingDirectories": [
{
"mode": "auto"
Expand All @@ -10,26 +9,25 @@
"ignorePath": "../.gitignore"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": true,
"source.organizeImports": true
},
"eslint.validate": [
"javascript",
"typescript"
],
"cSpell.words": [
"circuitsvis",
"Colab",
"Colord",
"crossorigin",
"devcontainer",
"Interpretability",
"ndarray",
"NPMJS"
],
"rewrap.reformat": false,
"editor.formatOnSave": true,
"python.linting.pylintArgs": [
"pylint.args": [
"--rcfile=./python/.pylintrc",
"--generated-members=numpy.* ,torch.* ,cv2.* , cv.*"
]
],
"python.testing.pytestArgs": [
"python/circuitsvis",
],
"python.testing.pytestEnabled": true,
"rewrap.wrappingColumn": 100,
"pylint.importStrategy": "fromEnvironment",
"notebook.formatOnCellExecution": true,
"notebook.formatOnSave.enabled": true,
}

0 comments on commit a8f606d

Please sign in to comment.