From 73e2c5ec10754fca827ec10a2cf678a6bec871a8 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 1 Nov 2021 18:24:41 +0100 Subject: [PATCH] Added vs code --- .gitignore | 1 - .vscode/launch.json | 62 +++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 26 ++++++++++++++++++ 3 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 66c1e7ab..23c24710 100644 --- a/.gitignore +++ b/.gitignore @@ -132,5 +132,4 @@ dmypy.json .pyre/ # IDE -.vscode/ .idea/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..a2c285a8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,62 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Aktuelle Datei", + "type": "python", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal" + }, + { + "name": "CPL: main test", + "type": "python", + "request": "launch", + "cwd": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/cpl_core/src/tests/custom/general/src/general", + "program": "main.py", + "console": "integratedTerminal", + "args": [ + "--customer=sh-edraft.de" + ], + "env": { + "CPL_NAME": "CPL_Dev_Test", + "PYTHON_ENVIRONMENT": "development" + } + }, + { + "name": "CPL: console test", + "type": "python", + "request": "launch", + "cwd": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/src/tests/custom/console", + "program": "main.py", + "console": "integratedTerminal", + }, + { + "name": "CPL: database test", + "type": "python", + "request": "launch", + "cwd": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/src/tests/custom/database/src", + "program": "main.py", + "console": "integratedTerminal", + }, + { + "name": "CPL: CLI", + "type": "python", + "request": "launch", + "cwd": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/src/", + "program": "cpl_cli/main.py", + "console": "integratedTerminal", + }, + { + "name": "CPL: CLI Remove", + "type": "python", + "request": "launch", + "cwd": "/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/src/", + "program": "cpl_cli/main.py", + "console": "integratedTerminal", + }, + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..9dbf77e9 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,26 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#fbed80", + "activityBar.activeBorder": "#06b9a5", + "activityBar.background": "#fbed80", + "activityBar.foreground": "#15202b", + "activityBar.inactiveForeground": "#15202b99", + "activityBarBadge.background": "#06b9a5", + "activityBarBadge.foreground": "#15202b", + "editorGroup.border": "#fbed80", + "panel.border": "#fbed80", + "sash.hoverBorder": "#fbed80", + "sideBar.border": "#fbed80", + "statusBar.background": "#f9e64f", + "statusBar.foreground": "#15202b", + "statusBarItem.hoverBackground": "#f7df1e", + "statusBarItem.remoteBackground": "#f9e64f", + "statusBarItem.remoteForeground": "#15202b", + "titleBar.activeBackground": "#f9e64f", + "titleBar.activeForeground": "#15202b", + "titleBar.inactiveBackground": "#f9e64f99", + "titleBar.inactiveForeground": "#15202b99" + }, + "peacock.color": "#f9e64f", + "python.pythonPath": "cpl-env/bin/python3.9", +} \ No newline at end of file