Skip to content

Code completion not working for annotations #13624

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

Closed
prolativ opened this issue Sep 28, 2021 · 2 comments
Closed

Code completion not working for annotations #13624

prolativ opened this issue Sep 28, 2021 · 2 comments
Labels

Comments

@prolativ
Copy link
Contributor

Compiler version

3.1.0-RC2

Minimized code

In a REPL session:

@annotation.implicitNot

and press TAB (or invoke code completion in IDE)

Output

No completions are suggested

Expectation

Code completion should work for annotations (both in their prefix form, e.g. @foo class Bar, and in the suffix form, e.g. 1: @foo).
In the particular case above the code should expand to @annotation.implicitNotFound

@tgodzik
Copy link
Contributor

tgodzik commented Oct 27, 2021

@prolativ do you have an example for the suffix case maybe?

@tgodzik
Copy link
Contributor

tgodzik commented Nov 2, 2021

This should now be fixed based on #13834 and #13834

@tgodzik tgodzik closed this as completed Nov 2, 2021
olsdavis pushed a commit to olsdavis/dotty that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants