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

Add UIKind API #8038

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Add UIKind API #8038

merged 1 commit into from
Jun 18, 2020

Conversation

tsmaeder
Copy link
Contributor

What it does

Adds the vsode.env.UIKind API in order to enable VS Code extensions, for example ti fix:

Java Test Runner extension doesn't activate and icons are not loaded #8007

The idea is that electron => UIKind.Desktop and everything is UIKind.Web.

How to test

The tests I ran are that the extensions mentioned in the linked PR are coming up. @akosyakov are there any compatility tests I could run for this?

Review checklist

Reminder for reviewers

@tsmaeder tsmaeder requested review from akosyakov and elaihau June 17, 2020 15:03
@akosyakov akosyakov added the vscode issues related to VSCode compatibility label Jun 18, 2020
@akosyakov
Copy link
Member

akosyakov commented Jun 18, 2020

@tsmaeder first commit is unrelated? Second commit looks simple and clean but some formatting is broken.

@tsmaeder
Copy link
Contributor Author

@akosyakov ah crap! I didn't branch off master. The first commit is from #7996 (which could use some discussion of the approach, as well ;-))
Standby, I'll fix it.

Signed-off-by: Thomas Mäder <[email protected]>
@tsmaeder
Copy link
Contributor Author

I tested that we get the correct value with a command ("Show UI kind") in my test test extension.
prefs-explorer-0.0.1.vsix.remove.zip
(rename by removing "remove.zip")

@tsmaeder
Copy link
Contributor Author

I removed the extra commit and fixed the formatting (some tabs instead of spaces)

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

LGTM, java test runnner extension can activate and icon is ther

@tsmaeder tsmaeder merged commit 01b52c7 into eclipse-theia:master Jun 18, 2020
@wuyounyoun
Copy link

wuyounyoun commented Jun 18, 2020 via email

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