Custom editor documentation #99279
Labels
custom-editors
Custom editor API (webview based editors)
insiders-released
Patch has been released in VS Code Insiders
Milestone
Testing #99003
The
webviewOptions
has no documentation comment, but thesupportsMultipleEditorsPerDocument
property right below it has a huge comment. It would be nice to have comment on thewebviewOptions
.Looks like there's a word missing here (... instead of reading the file from this user's...):
vscode/src/vs/vscode.d.ts
Lines 7025 to 7026 in eb09996
I find this to be confusing. "and the resolve(d) document is passed to
resolveCustomEditor
". I think it should not refer to an already resolved document, since at this point the document is not "resolved" byresolveCustomEditor
. Instead, may the "returned" document?vscode/src/vs/vscode.d.ts
Lines 7046 to 7049 in eb09996
For the documentation around
resolveCustomEditor
andresolveCustomTextEditor
, I have trouble understanding what thewebviewPanel
is for just by reading the comment. Perhaps consider adding something about how the webview should be used for displaying the custom editor data.vscode/src/vs/vscode.d.ts
Lines 7059 to 7074 in eb09996
Would be good to give an example of where in the UI this would be shown:
vscode/src/vs/vscode.d.ts
Lines 6963 to 6968 in eb09996
Unfinished sentence?
vscode/src/vs/vscode.d.ts
Lines 7013 to 7014 in eb09996
The text was updated successfully, but these errors were encountered: