Set a read-only message from an extension (#185216)

* wip

* Allow extensions to provide a readonly message
Part of #166971

* Address feedback

* Further address feedback

* Fix some nits

* Add test

* Improve tests and respond to feedback

* Don't render editor.readOnlyMessage in the settings UI

* No need to validate the IMarkdownString

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
This commit is contained in:
Alex Ross
2023-06-21 10:55:00 +02:00
committed by GitHub
parent 76cc1fc7cc
commit 1a4e466fc0
31 changed files with 349 additions and 151 deletions

View File

@@ -26,6 +26,7 @@
"notebookMime",
"portsAttributes",
"quickPickSortByLabel",
"readonlyMessage",
"resolvers",
"saveEditor",
"scmActionButton",