-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Implement CustomDocumentOpenContext
#10005
Comments
To achieve source compatibility, it would be enough to just declare the field in |
@tsmaeder what should the scope be for initial support of the feature? If we are to add support for custom-editor backups it'd be quite involving, especially for a beginner ( |
No real implementation needed. |
VSCode defines the optional property `untitledDocumentData` in `CustomDocumentOpenContext`. In theia.d.ts, this property is however missing. As it is optional and is not used from the main implementation, this change is merely achieving source compatibility, but prepares its usage in the ext implementation of the plugin API. Contributed on behalf of STMicroelectronics Signed-off-by: Philip Langer <planger@eclipsesource.com> Fixes eclipse-theia#10005 Change-Id: I8d06335c5621d412e61c97f097d89f5b5bd7279b
VSCode defines the optional property `untitledDocumentData` in `CustomDocumentOpenContext`. In theia.d.ts, this property is however missing. As it is optional and is not used from the main implementation, this change is merely achieving source compatibility, but prepares its usage in the ext implementation of the plugin API. Contributed on behalf of STMicroelectronics Signed-off-by: Philip Langer <planger@eclipsesource.com> Fixes eclipse-theia#10005 Change-Id: I8d06335c5621d412e61c97f097d89f5b5bd7279b
VSCode defines the optional property `untitledDocumentData` in `CustomDocumentOpenContext`. In theia.d.ts, this property is however missing. As it is optional and is not used from the main implementation, this change is merely achieving source compatibility, but prepares its usage in the ext implementation of the plugin API. Contributed on behalf of STMicroelectronics Signed-off-by: Philip Langer <planger@eclipsesource.com> Fixes eclipse-theia#10005 Change-Id: I1b4d67b5b11fa2c94a8590aac6b8ad0f040cee94
VSCode defines the optional property `untitledDocumentData` in `CustomDocumentOpenContext`. In theia.d.ts, this property is however missing. As it is optional and is not used from the main implementation, this change is merely achieving source compatibility, but prepares its usage in the ext implementation of the plugin API. Contributed on behalf of STMicroelectronics Signed-off-by: Philip Langer <planger@eclipsesource.com> Fixes #10005 Change-Id: I1b4d67b5b11fa2c94a8590aac6b8ad0f040cee94
Feature Description:
Implement the functionality in
CustomDocumentOpenContext
. While we already have thebackupId
field defined, Theia is never passing it to any CustomEditorProvider, since we never callbackupCustomDocument()
. TheuntitledDocumentData
field is not present intheia.d.ts
, but since it's optional in VS Code, any plugin written againstvscode.dt.ts
will work anyway.The text was updated successfully, but these errors were encountered: