Refactor code structure for improved readability and maintainability
Some checks failed
/ build (macos-latest) (push) Has been cancelled
/ build (ubuntu-latest) (push) Has been cancelled
/ build (windows-latest) (push) Has been cancelled

This commit is contained in:
mynameisdeleted
2026-07-12 10:50:18 -04:00
parent 18acf1d7f4
commit f254c3a31c
14 changed files with 2699 additions and 7 deletions

3
.vscode/launch.json vendored
View File

@@ -53,7 +53,8 @@
"HOT_RELOAD": "",
"USE_DEV_UI": ""
},
"outFiles": ["${workspaceFolder}/extension/dist/**/*.js"]
"outFiles": ["${workspaceFolder}/extension/dist/**/*.js"],
"preLaunchTask": "npm: build - extension"
},
{
"name": "Run Extension (Dev UI)",

13
.vscode/tasks.json vendored
View File

@@ -15,6 +15,19 @@
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"label": "npm: build - extension",
// Deliberately the ROOT package.json's "build" script (data-extraction
// -> webview -> extension, in that order), not extension/'s own build
// script -- the extension's webpack just *copies* whatever is already
// sitting in webview/dist (via the node_modules/debug-visualizer-webview
// symlink) into its own bundle rather than rebuilding it. Scoping this
// task to extension/ alone silently ships a stale webview bundle.
"script": "build",
"problemMatcher": [],
"group": "build"
}
]
}