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

Reuse completions from Bloop #3128

Open
tgodzik opened this issue Aug 26, 2024 · 0 comments
Open

Reuse completions from Bloop #3128

tgodzik opened this issue Aug 26, 2024 · 0 comments
Labels
Bloop Issues tied with Bloop integration. completions Issues tied to completions on the command line. enhancement New feature or request good first issue Good for newcomers

Comments

@tgodzik
Copy link
Member

tgodzik commented Aug 26, 2024

Is your feature request related to a problem? Please describe.
In Bloop it's possible to get completions for test suites and main methods, since Bloop knows exactly which ones are available.

This can be also done via for example:
scala-cli bloop autocomplete --format fish --mode testsfqcn --project $project
scala-cli bloop autocomplete --format fish --mode mainsfqcn --project $project
which doesn't seem to work right now despite working in a normal Bloop project

Though project name would be the complicated one, but it could be appended automatically by Scala CLI

The examples for fish are here https://github.com/scalacenter/bloop/blob/main/etc/fish-completions

There are similar ones for bash and zsh next to it.

Describe the solution you'd like
Allow completions for tests suites and main classes

Additional context
I was digging into it when working on https://github.com/scalacenter/bloop/pull/2411/files

@tgodzik tgodzik added the enhancement New feature or request label Aug 26, 2024
@Gedochao Gedochao added Bloop Issues tied with Bloop integration. completions Issues tied to completions on the command line. good first issue Good for newcomers labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bloop Issues tied with Bloop integration. completions Issues tied to completions on the command line. enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants