Add vscode workspaces and settings (#387)
* Add recommended root extensions * Add typescript and solidity workspace settings * Add rust settings and extensions * Update some root settings * Comment unused rust vars as revealed by analyzer * Remove root extensions in favor of workspace * Update README with VSCode hintpull/392/head
parent
a9f3397b37
commit
1d572ba887
@ -0,0 +1,43 @@ |
||||
{ |
||||
"settings": { |
||||
"editor.formatOnSave": true, |
||||
"editor.formatOnSaveMode": "modifications", // only formats git changes |
||||
"editor.defaultFormatter": "esbenp.prettier-vscode", |
||||
"prettier.configPath": ".prettierrc", |
||||
"workbench.editor.labelFormat": "medium", |
||||
"npm.packageManager": "yarn", |
||||
"npm.enableRunFromFolder": true, |
||||
"npm.scriptExplorerAction": "run", |
||||
"npm.fetchOnlinePackageInfo": true, |
||||
"scm.diffDecorationsGutterPattern": { |
||||
"added": true |
||||
}, |
||||
}, |
||||
"folders": [ |
||||
{ |
||||
"path": "./typescript" |
||||
}, |
||||
{ |
||||
"path": "./solidity" |
||||
}, |
||||
{ |
||||
"path": "./rust" |
||||
} |
||||
], |
||||
"extensions": { |
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. |
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp |
||||
|
||||
// List of extensions which should be recommended for users of this workspace. |
||||
"recommendations": [ |
||||
"GitHub.copilot-nightly", |
||||
"GitHub.vscode-pull-request-github", |
||||
"eamodio.gitlens", |
||||
"bierner.github-markdown-preview", |
||||
"ms-vsliveshare.vsliveshare-pack", |
||||
"esbenp.prettier-vscode" |
||||
], |
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. |
||||
"unwantedRecommendations": [] |
||||
} |
||||
} |
@ -0,0 +1,13 @@ |
||||
{ |
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. |
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp |
||||
|
||||
// List of extensions which should be recommended for users of this workspace. |
||||
"recommendations": [ |
||||
"panicbit.cargo", |
||||
"tamasfe.even-better-toml", |
||||
"matklad.rust-analyzer", |
||||
], |
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. |
||||
"unwantedRecommendations": [] |
||||
} |
@ -0,0 +1,6 @@ |
||||
{ |
||||
"files.exclude": { |
||||
"target": true, |
||||
"**/bin": true, |
||||
}, |
||||
} |
@ -0,0 +1,14 @@ |
||||
{ |
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. |
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp |
||||
|
||||
// List of extensions which should be recommended for users of this workspace. |
||||
"recommendations": [ |
||||
"JuanBlanco.solidity", |
||||
"tintinweb.vscode-ethover", |
||||
], |
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. |
||||
"unwantedRecommendations": [ |
||||
|
||||
] |
||||
} |
@ -0,0 +1,11 @@ |
||||
{ |
||||
"files.exclude": { |
||||
"**/node_modules": true, |
||||
"**/*.js": {"when": "$(basename).ts"}, |
||||
"**/*.map": {"when": "$(basename).map"}, |
||||
"**/artifacts": true, |
||||
"**/cache": true, |
||||
"**/dist": true, |
||||
"**/types": true, |
||||
}, |
||||
} |
@ -0,0 +1,12 @@ |
||||
{ |
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. |
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp |
||||
|
||||
// List of extensions which should be recommended for users of this workspace. |
||||
"recommendations": [ |
||||
"tintinweb.vscode-ethover", |
||||
], |
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. |
||||
"unwantedRecommendations": [ |
||||
] |
||||
} |
@ -0,0 +1,8 @@ |
||||
{ |
||||
"files.exclude": { |
||||
"**/node_modules": true, |
||||
"**/*.js": {"when": "$(basename).ts"}, |
||||
"**/*.map": {"when": "$(basename).map"}, |
||||
"**/dist": true, |
||||
}, |
||||
} |
Loading…
Reference in new issue