From 11cc97ecf6f197b8d28c584a9fe1d0844bf6a34f Mon Sep 17 00:00:00 2001 From: Rinat Arsaev <11846445+A77AY@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:17:46 +0300 Subject: [PATCH] Add vs code tasks (#141) --- .gitignore | 2 +- .vscode/extensions.json | 9 +++++++++ .vscode/settings.json | 24 ++++++++++++++++++++++++ .vscode/tasks.json | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 475cd2f9..5bb015f3 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ # IDE - VSCode .vscode/* -#!.vscode/settings.json +!.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..9cf81a5d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "hediet.tasks-statusbar", + "streetsidesoftware.code-spell-checker-russian", + "wmaurer.change-case", + "johnpapa.vscode-peacock", + "streetsidesoftware.code-spell-checker" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..16c03681 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,24 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#ab307e", + "activityBar.activeBorder": "#25320e", + "activityBar.background": "#ab307e", + "activityBar.foreground": "#e7e7e7", + "activityBar.inactiveForeground": "#e7e7e799", + "activityBarBadge.background": "#25320e", + "activityBarBadge.foreground": "#e7e7e7", + "sash.hoverBorder": "#ab307e", + "statusBar.background": "#832561", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#ab307e", + "statusBarItem.remoteBackground": "#832561", + "statusBarItem.remoteForeground": "#e7e7e7", + "titleBar.activeBackground": "#832561", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#83256199", + "titleBar.inactiveForeground": "#e7e7e799", + "commandCenter.border": "#e7e7e799" + }, + "peacock.color": "#832561", + "tasksStatusbar.taskLabelFilter": "Start" +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..60c1c038 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Libs", + "type": "shell", + "command": "npm run dev-libs", + "presentation": { + "group": "stage" + } + }, + { + "label": "Stage", + "type": "shell", + "command": "sleep 0.5 && npm run stage", + "presentation": { + "group": "stage" + } + }, + { + "label": "Dev", + "type": "shell", + "command": "sleep 0.5 && npm run dev", + "presentation": { + "group": "stage" + } + }, + { + "label": "Start stage & libs", + "dependsOn": ["Libs", "Stage"], + "problemMatcher": [] + }, + { + "label": "Start dev & libs", + "dependsOn": ["Libs", "Dev"], + "problemMatcher": [] + } + ] +}