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: Don't show run code lense when using Main class and worksheets #6947

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Nov 18, 2024

It happens if we have no package Main class and a worksheet next to it.

This is pretty minor edge case and doesn't break anything, but we should not show run/debug lenses for worksheets as it will run a different clas.

It happens if we have no package Main class and a worksheet next to it.

This is pretty minor edge case and doesn't break anything, but we should not show run/debug lenses for worksheets as it will run a different clas.
@tgodzik tgodzik merged commit 8a1d1ec into scalameta:main Nov 18, 2024
21 of 22 checks passed
@tgodzik tgodzik deleted the worksheet-lenses branch November 18, 2024 15:40
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.

1 participant