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): support backticked imports in completions #14649

Merged
merged 1 commit into from Mar 9, 2022

Conversation

ckipp01
Copy link
Member

@ckipp01 ckipp01 commented Mar 9, 2022

This will ensure that when you try to backtick an import whether it's
needed or not that you correctly capture the prefix and offer a
backticked completion. For example:

import scala.util.chaining.`s<TAB>

Results in an Ident(<error>) which we now check to see if a backtick
is causing it and correctly offer the completion.

Fixes #12514

This will ensure that when you try to backtick an import whether it's
needed or not that you correctly capture the prefix and offer a
backticked completion. For example:

```scala
import scala.util.chaining.`s<TAB>
```

Results in an `Ident(<error>)` which we now check to see if a backtick
is causing it and correctly offer the completion.

Fixes scala#12514
@prolativ prolativ merged commit c04f566 into scala:main Mar 9, 2022
@ckipp01 ckipp01 deleted the backtickImport branch March 9, 2022 14:49
@Kordyjan Kordyjan added this to the 3.1.3 milestone Aug 1, 2023
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.

REPL tab completion includes spurious Any members
3 participants