Closed bjornregnell closed 2 years ago
This seems related to https://github.com/lampepfl/dotty/pull/13369
Just to tie these together this also seems a duplicate of https://github.com/lampepfl/dotty/issues/4406.
I have a working POC locally
But I'm still trying to fix some issues that were also noticed in https://github.com/lampepfl/dotty/pull/13369 when you are trying to start the completion with a backtick for example you end up getting your completion, but it then begins with two backticks, so I need to figure that out. Looks like this was also hit on in https://github.com/lampepfl/dotty/pull/11794.
All that to say, I'm working on this.
They might have one of the old contributor's t-shirts lying around for you, that says:
You tick my back and I'll tick yours!
Compiler version
3.1.0
Minimized code and output
Expectation
The completion of back-ticked names should be wrapped into back-ticks so that the code works. A beginner might not know the rules of an identifier and a back-ticked member not following the rules is silently showing up in the list of completions. This may cause confusion.
It would also be nice if completion worked also after typing a back-tick.