From 9ae0f4cfc42bf473c2994eea46bda900e8434aed Mon Sep 17 00:00:00 2001 From: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 15 Nov 2020 13:09:31 +0000 Subject: [PATCH] - Added custom codespace configuration - Removed unnecessary extensions - Start Hyperion in VS Code (Codespace) by default in debug mode --- .devcontainer.json | 20 ++++++++++++++++++++ .vscode/hyperion.code-workspace | 2 -- .vscode/launch.json | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .devcontainer.json diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 00000000..27f667d9 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "Hyperion.ng Linux", + "extensions": [ + "twxs.cmake", + "ms-vscode.cpptools", + "ms-vscode.cmake-tools", + "spmeesseman.vscode-taskexplorer", + "yzhang.markdown-all-in-one", + "CoenraadS.bracket-pair-colorizer", + "vscode-icons-team.vscode-icons", + "editorconfig.editorconfig" + ], + "settings": { + "editor.formatOnSave": false, + "cmake.environment": { + }, + }, + "forwardPorts": [8090, 8092], + "postCreateCommand": "git submodule update --recursive --init && sudo apt-get install -y git cmake build-essential qtbase5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5x11extras5-dev libusb-1.0-0-dev python3-dev libcec-dev libxcb-image0-dev libxcb-util0-dev libxcb-shm0-dev libxcb-render0-dev libxcb-randr0-dev libxrandr-dev libxrender-dev libavahi-core-dev libavahi-compat-libdnssd-dev libjpeg-dev libturbojpeg0-dev libssl-dev zlib1g-dev" +} diff --git a/.vscode/hyperion.code-workspace b/.vscode/hyperion.code-workspace index a86bfc59..3b5db3c7 100644 --- a/.vscode/hyperion.code-workspace +++ b/.vscode/hyperion.code-workspace @@ -16,9 +16,7 @@ "ms-vscode.cmake-tools", "spmeesseman.vscode-taskexplorer", "yzhang.markdown-all-in-one", - "formulahendry.auto-rename-tag", "CoenraadS.bracket-pair-colorizer", - "eamodio.gitlens", "vscode-icons-team.vscode-icons", "editorconfig.editorconfig" ] diff --git a/.vscode/launch.json b/.vscode/launch.json index 90c1d1b3..ad6f92cc 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/hyperiond", - "args": [], + "args": ["-d"], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], @@ -28,7 +28,7 @@ "type": "cppvsdbg", "request": "launch", "program": "${workspaceFolder}/build/bin/Debug/hyperiond.exe", - "args": [], + "args": ["-d"], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [],