Skip to content

Commit

Permalink
setup vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm1957 committed Sep 14, 2023
1 parent 49f24c2 commit ef2fc3a
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
46 changes: 46 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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": [
"<node_internals>/**"
],
"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": [
"<node_internals>/**"
],
"type": "node"
},


{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}

0 comments on commit ef2fc3a

Please sign in to comment.