You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm a developer of Azure CosmosDB extension.
Sometimes it needs to open cosmosdb document in read only custom webview. TextDocument has isReadonly property which I also can set using virtual file system provider. Moreover if this flag is set in TextDocument the editor tab has small lock icon. However, CustomDocument doesn't have this flag because there are two providers: CustomEditorProvider and CustomReadonlyEditorProvider, and this flag is set by provider.
In my case the user can unlock this document and starts editing it, but there are no way to set/unset read-only flag in CustomEditorProvider or CustomDocument.
This would be useful if the CustomEditorProvider will take into consideration the isReadonly flag from CustomDocument and shows small-lock icon in case this flag sets to true
The text was updated successfully, but these errors were encountered:
Hi, I'm a developer of Azure CosmosDB extension.
Sometimes it needs to open cosmosdb document in read only custom webview. TextDocument has isReadonly property which I also can set using virtual file system provider. Moreover if this flag is set in TextDocument the editor tab has small lock icon. However, CustomDocument doesn't have this flag because there are two providers: CustomEditorProvider and CustomReadonlyEditorProvider, and this flag is set by provider.
In my case the user can unlock this document and starts editing it, but there are no way to set/unset read-only flag in CustomEditorProvider or CustomDocument.
This would be useful if the CustomEditorProvider will take into consideration the isReadonly flag from CustomDocument and shows small-lock icon in case this flag sets to true
The text was updated successfully, but these errors were encountered: