Add recommended VSCode extensions (#2244)
* Add code spell check and i18n-ally to recommended vscode extens ions * Add EditorConfig to recommended extensions and formatCodeOnAction to use eslint fix
This commit is contained in:
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
@@ -3,6 +3,9 @@
|
||||
// for the documentation about the extensions.json format
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"msjsdiag.debugger-for-chrome"
|
||||
"msjsdiag.debugger-for-chrome",
|
||||
"streetsidesoftware.code-spell-checker",
|
||||
"lokalise.i18n-ally",
|
||||
"EditorConfig.EditorConfig"
|
||||
]
|
||||
}
|
||||
|
122
.vscode/launch.json
vendored
122
.vscode/launch.json
vendored
@@ -1,61 +1,61 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug Main Process",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||
"runtimeArgs": [
|
||||
"src",
|
||||
"--disable-dev-mode"
|
||||
],
|
||||
"windows": {
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||
},
|
||||
"program": "${workspaceRoot}/src/main.js",
|
||||
"outFiles": [
|
||||
"${workspaceRoot}/src/main_bundle.js"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Build sources"
|
||||
},
|
||||
/*
|
||||
{
|
||||
"name": "Debug Renderer Process",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||
"windows": {
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||
},
|
||||
"runtimeArgs": [
|
||||
"${workspaceRoot}/src",
|
||||
"--disable-dev-mode",
|
||||
"--remote-debugging-port=9222"
|
||||
],
|
||||
"webRoot": "${workspaceRoot}/src/browser",
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Build sources"
|
||||
},
|
||||
*/
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Mocha Tests",
|
||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||
"args": [
|
||||
"-r",
|
||||
"@babel/register",
|
||||
"--recursive",
|
||||
"--timeout",
|
||||
"999999",
|
||||
"--colors",
|
||||
"${workspaceRoot}/e2e/specs"
|
||||
],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "Build sources"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug Main Process",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||
"runtimeArgs": [
|
||||
"src",
|
||||
"--disable-dev-mode"
|
||||
],
|
||||
"windows": {
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||
},
|
||||
"program": "${workspaceRoot}/src/main.js",
|
||||
"outFiles": [
|
||||
"${workspaceRoot}/src/main_bundle.js"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Build sources"
|
||||
},
|
||||
/*
|
||||
{
|
||||
"name": "Debug Renderer Process",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||
"windows": {
|
||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||
},
|
||||
"runtimeArgs": [
|
||||
"${workspaceRoot}/src",
|
||||
"--disable-dev-mode",
|
||||
"--remote-debugging-port=9222"
|
||||
],
|
||||
"webRoot": "${workspaceRoot}/src/browser",
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "Build sources"
|
||||
},
|
||||
*/
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Mocha Tests",
|
||||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
||||
"args": [
|
||||
"-r",
|
||||
"@babel/register",
|
||||
"--recursive",
|
||||
"--timeout",
|
||||
"999999",
|
||||
"--colors",
|
||||
"${workspaceRoot}/e2e/specs"
|
||||
],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "Build sources"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
17
.vscode/settings.json
vendored
Normal file
17
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"i18n-ally.localesPaths": [
|
||||
"i18n"
|
||||
],
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"cSpell.words": [
|
||||
"browserview",
|
||||
"deauthorize",
|
||||
"loadscreen",
|
||||
"Ochiai",
|
||||
"UNCLOSEABLE",
|
||||
"webcontents",
|
||||
"Yuya"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user