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

fix: completions for using directive deps when test scope #6701

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

kasiaMarek
Copy link
Contributor

resolves: #6700

@@ -116,7 +116,7 @@ object CoursierComplete {
(editStart, editEnd)
}

val reg: Regex = """//>\s*using\s+(lib|plugin|dep)s?\s+"?(.*)""".r
Copy link
Contributor

@susliko susliko Aug 22, 2024

Choose a reason for hiding this comment

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

Won't there be a possibility to define custom scopes for scala-cli?
In that case I'd suggest making it (?:\w+\.)? instead of (?:test\.)?

Copy link
Contributor

Choose a reason for hiding this comment

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

Started a discussion on custom scopes in scala-cli: VirtusLab/scala-cli#3124

@tgodzik tgodzik merged commit 1812f74 into scalameta:main Aug 22, 2024
21 of 22 checks passed
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.

No scala-cli artifact completions for test.dep
3 participants