Revisit webview.ts
in workbench core
#165889
Labels
debt
Code quality issues
insiders-released
Patch has been released in VS Code Insiders
webview
Webview issues
Milestone
I was a bit surprised to find
src/vs/workbench/browser/webview.ts
andsrc/vs/workbench/common/webview.ts
. As far as I know, webviews are a workbench contribution and not workbench core. I typically want the workbench core not provide things that onlycontrib
depends on so I would recommend to move these files intosrc/vs/workbench/contrib/webview/
component.This becomes especially interesting as soon as we explore to lazily load
contrib
(#164068)If we have a dependency to anything in there from non-contrib then we can revisit that case by case, but I could not find any.
The text was updated successfully, but these errors were encountered: