-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set a read-only message from an extension #185216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, I especially like the idea of allowing boolean | MarkdownString
to avoid introducing a second method for this.
src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, only some minor feedback.
src/vs/workbench/contrib/files/browser/editors/fileEditorInput.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/notebook/common/notebookEditorModel.ts
Outdated
Show resolved
Hide resolved
extensions/vscode-api-tests/src/singlefolder-tests/readonlyFileSystem.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Part of #166971