Skip to content
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

vscode: introduce theia-extra.d.ts #11684

Merged
merged 1 commit into from
Sep 30, 2022
Merged

vscode: introduce theia-extra.d.ts #11684

merged 1 commit into from
Sep 30, 2022

Conversation

vince-fugnitto
Copy link
Member

What it does

The pull-request introduces the theia-extra.d.ts file which contains plugin APIs which are supported by the framework thanks to our flexibility but not necessarily available in the VS Code API. The APIs are also different than proposed so a new file was needed to reflect additional APIs Theia supports but VS Code does not.

One such case is WebviewPanel.reveal (which is currently marked as partially supported).

How to test

There is no change in functionality:

  • CI should pass.
  • Confirm that reveal in theia.d.ts matches VS Code.
  • The comparator should mark the WebviewPanel.reveal as supported.

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

The commit creates the `theia-extra.d.ts` file to contain plugin APIs the framework supports on top of
the VS Code API. The changes better organize APIs that are not part of the base VS Code API support, and
ensure that the comparator passes as well.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Sep 19, 2022
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that the change marks the WebviewPanel.reveal method as fully supported. I like the idea of adding the theia-extra.d.ts file.

Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants