Skip to content

bugfix: Check if tests namespace is enabled#1245

Merged
tgodzik merged 2 commits intoscalameta:mainfrom
tgodzik:support-theia
Dec 5, 2022
Merged

bugfix: Check if tests namespace is enabled#1245
tgodzik merged 2 commits intoscalameta:mainfrom
tgodzik:support-theia

Conversation

@tgodzik
Copy link
Copy Markdown
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
Comment thread src/extension.ts Outdated
);

const istTestManagerDisabled = getTestUI() === "Code Lenses";
const istTestManagerDisabled = !tests || getTestUI() === "Code Lenses";
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread src/extension.ts Outdated
Comment thread src/extension.ts Outdated
@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