first draft of log explorer
This commit is contained in:
1 parent
191e69eb1d
commit
400837b41a
16 files changed
+1495
-79
No files matched your search
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "vscode-appdaemon",
|
||||
"displayName": "AppDaemon for Home Assistant",
|
||||
"description": "AppDaemon development tools: status bar controls, entity autocompletion, hover tooltips, error viewer",
|
||||
"version": "0.1.0",
|
||||
"description": "AppDaemon development tools: log explorer, status bar controls, entity autocompletion, and error viewer",
|
||||
"version": "0.2.0",
|
||||
"publisher": "ad-toolbox",
|
||||
"engines": {
|
||||
"vscode": "^1.85.0"
|
||||
@@ -47,6 +47,33 @@
|
||||
"type": "number",
|
||||
"default": 300,
|
||||
"description": "Entity list refresh interval in seconds"
|
||||
},
|
||||
"appdaemon.logExplorerPaths": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [
|
||||
"logs/appdaemon.log",
|
||||
"logs/error.log",
|
||||
"logs/virtualsensors.log"
|
||||
],
|
||||
"description": "Log files followed by the explorer, relative to the workspace."
|
||||
},
|
||||
"appdaemon.logTimezone": {
|
||||
"type": "string",
|
||||
"default": "Europe/Berlin",
|
||||
"description": "Timezone used by AppDaemon text logs."
|
||||
},
|
||||
"appdaemon.logEncoding": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto",
|
||||
"utf8",
|
||||
"windows-1252"
|
||||
],
|
||||
"default": "auto",
|
||||
"description": "Text log encoding. Auto preserves UTF-8 and decodes legacy Windows-1252 bytes."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -93,6 +120,11 @@
|
||||
{
|
||||
"command": "appdaemon.clearErrors",
|
||||
"title": "AppDaemon: Clear Error Diagnostics"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.exploreLogs",
|
||||
"title": "AppDaemon: Explore Logs",
|
||||
"icon": "$(list-tree)"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
@@ -111,16 +143,19 @@
|
||||
"key": "ctrl+shift+v",
|
||||
"mac": "cmd+shift+v"
|
||||
}
|
||||
]
|
||||
],
|
||||
"menus": {}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "tsc -watch -p ./"
|
||||
"watch": "tsc -watch -p ./",
|
||||
"test": "npm run compile && node --test tests/*.test.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/vscode": "^1.85.0",
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/vscode": "^1.85.0",
|
||||
"jsdom": "^26.1.0",
|
||||
"typescript": "^5.3.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user