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

No autocompletion for bloopInstall in sbt #373

Closed
jvican opened this issue Mar 16, 2018 · 2 comments · Fixed by #397
Closed

No autocompletion for bloopInstall in sbt #373

jvican opened this issue Mar 16, 2018 · 2 comments · Fixed by #397

Comments

@jvican
Copy link
Contributor

jvican commented Mar 16, 2018

bloopInstall is a global task key, and global task keys are for some reason not autocompleted in sbt. This is not a bug in bloop, so I'm not labelling it as such.

I don't know what we could do to fix this issue in bloop... Maybe scoping it in ThisBuild will fix it? Who knows.

I'm adding this so that our users are not confused if autocompletion doesn't work for this task. This will be alleviated when #140 happens.

@jvican jvican changed the title No autocompletion for bloopinstall No autocompletion for bloopinstall in sbt Mar 16, 2018
@olafurpg
Copy link
Contributor

I hit on this because bloopIn<TAB> completes to bloopInternalClasspath which is definitely what I wanted to do.

@jvican
Copy link
Contributor Author

jvican commented Mar 16, 2018

We should probably add a clarification in our docs.

@jvican jvican changed the title No autocompletion for bloopinstall in sbt No autocompletion for bloopInstall in sbt Mar 16, 2018
jvican added a commit that referenced this issue Mar 27, 2018
This is a workaround for an sbt bug. Sbt doesn't show autocompletion for
settings scoped in Global.

```
sbt @ bloop > bloop
bloop/                             bloopAggregateSourceDependencies
bloopClassDirectory                bloopConfigDir
bloopGenerate                      bloopInstall
bloopInternalClasspath             bloopManagedResourceDirectories
bloopProductDirectories            bloopResourceManaged
bloopTargetDir
```

Fixes #373.
jvican added a commit that referenced this issue Mar 27, 2018
This is a workaround for an sbt bug. Sbt doesn't show autocompletion for
settings scoped in Global.

```
sbt @ bloop > bloop
bloop/                             bloopAggregateSourceDependencies
bloopClassDirectory                bloopConfigDir
bloopGenerate                      bloopInstall
bloopInternalClasspath             bloopManagedResourceDirectories
bloopProductDirectories            bloopResourceManaged
bloopTargetDir
```

Fixes #373.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants