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

bugfix: Check if tests namespace is enabled #1245

Merged
merged 2 commits into from
Dec 5, 2022

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Dec 2, 2022

Eclipse Theia does not support test explorer currently.

Related to #1244

Eclipse Theia does not support test explorer currently.

Related to scalameta#1244
@tgodzik tgodzik requested a review from kpodsiad December 2, 2022 14:39
src/extension.ts Outdated
@@ -600,7 +601,7 @@ function launchMetals(
"Test Explorer"
);

const istTestManagerDisabled = getTestUI() === "Code Lenses";
const istTestManagerDisabled = !tests || getTestUI() === "Code Lenses";
Copy link
Member

Choose a reason for hiding this comment

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

I don't fully get it, how is it supposed to help with issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems that the namespace is undefined when the code is used in Theia

Copy link
Member

Choose a reason for hiding this comment

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

ok, now I see it

Copy link
Member

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

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

nitpick, it's worth to write what this is important

src/extension.ts Outdated Show resolved Hide resolved
src/extension.ts Outdated Show resolved Hide resolved
Co-authored-by: Kamil Podsiadło <37124721+kpodsiad@users.noreply.github.com>
@tgodzik tgodzik merged commit 4db148c into scalameta:main Dec 5, 2022
@tgodzik tgodzik deleted the support-theia branch December 5, 2022 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants