From 500daacca2c3418e10bd23a6978523fb2741d24b Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 29 May 2019 22:28:10 +0000 Subject: [PATCH] vscode rice --- .gitignore | 3 --- .vscode/launch.json | 32 ++++++++++++++++++++++++++++++++ .vscode/settings.json | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index aab04bc8..e3feddb7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,9 +13,6 @@ dist/ # sublime *.sublime-workspace -# vscode -.vscode - # winmerge *.bak diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..a2cce62f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,32 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Run copyparty", + "type": "python", + "request": "launch", + "module": "copyparty", + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "args": [ + "-j", + "2", + "-nc", + "4", + "-nw", + ] + }, + { + "name": "Run active unit test", + "type": "python", + "request": "launch", + "module": "unittest", + "console": "integratedTerminal", + "cwd": "${workspaceFolder}", + "args": [ + "-v", + "${file}" + ] + }, + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..e701b13b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,36 @@ +{ + "workbench.colorCustomizations": { + "terminal.background": "#1e1e1e", + "terminal.foreground": "#d2d2d2", + "terminalCursor.background": "#93A1A1", + "terminalCursor.foreground": "#93A1A1", + "terminal.ansiBlack": "#404040", + "terminal.ansiRed": "#f03669", + "terminal.ansiGreen": "#b8e346", + "terminal.ansiYellow": "#ffa402", + "terminal.ansiBlue": "#02a2ff", + "terminal.ansiMagenta": "#f65be3", + "terminal.ansiCyan": "#3da698", + "terminal.ansiWhite": "#d2d2d2", + "terminal.ansiBrightBlack": "#606060", + "terminal.ansiBrightRed": "#c75b79", + "terminal.ansiBrightGreen": "#c8e37e", + "terminal.ansiBrightYellow": "#ffbe4a", + "terminal.ansiBrightBlue": "#71cbff", + "terminal.ansiBrightMagenta": "#b67fe3", + "terminal.ansiBrightCyan": "#9cf0ed", + "terminal.ansiBrightWhite": "#ffffff", + }, + "python.testing.pyTestEnabled": false, + "python.testing.nosetestsEnabled": false, + "python.testing.unittestEnabled": true, + "python.testing.unittestArgs": [ + "-v", + "-s", + "./tests", + "-p", + "test_*.py" + ], + "python.linting.pylintEnabled": true, + "python.linting.enabled": true, +} \ No newline at end of file