diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..d824444 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..0226a82 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,46 @@ +{ + // Verwendet IntelliSense zum Ermitteln möglicher Attribute. + // Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen. + // Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch normal", + "program": "${workspaceFolder}/main.js", + "args": ["--instance", "0", "--force", "--logs", "--debug"], + "request": "launch", + "stopOnEntry": true, + "console": "internalConsole", + "outputCapture": "std", + "skipFiles": [ + "/**" + ], + "type": "node" + }, + + { + "name": "Launch install", + "program": "${workspaceFolder}/main.js", + "args": ["--instance", "0", "--force", "--logs", "--debug", "--install"], + "request": "launch", + "stopOnEntry": true, + "console": "internalConsole", + "outputCapture": "std", + "skipFiles": [ + "/**" + ], + "type": "node" + }, + + + { + "name": "Attach by Process ID", + "processId": "${command:PickProcess}", + "request": "attach", + "skipFiles": [ + "/**" + ], + "type": "node" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..960bc71 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,15 @@ +{ + "eslint.enable": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "json.schemas": [ + { + "fileMatch": ["io-package.json"], + "url": "https://json.schemastore.org/io-package" + }, + { + "fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"], + "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + } + ] +}