-
Notifications
You must be signed in to change notification settings - Fork 319
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
Move completions to new compiler testing infrastructure #59
Comments
PS. I've started working on this. |
Actually, would someone be interested in working on this? I have a WIP diff here https://github.com/scalameta/language-server/compare/master...olafurpg:completions?expand=1 that can be used as a base. There are other issues I can work on instead, for example building semanticdbs on the fly with the presentation compiler. |
I can work on this. I've already started to hack around with completion priorities a few days ago, so I have a vague idea of how to tackle this. |
Awesome! Just realised why completions started crashing a lot now, I removed the fe14433#diff-be76cbaabee1e6378859da7ffe659ab1L60 We should probably add I suspect with this change we can avoid this hacky catch here |
I'm not sure I understand the
|
Ah, nvm, got it. I think your intuition is right, I've added it back and it seems to be working. I'll push it to a branch soon. |
Scratch that, it seems to have no effect :( |
In #51 and #55 we moved signatureHelp and hover to a new testing infrastructure. This new infrastructure makes it very productive to polish the output from the presentation compiler using
~metaserver/testOnly -- tests.compiler
. This workflow is way more productive than doingpublishLocal
, open vscode, manually type code and see what it produces.The completion provider can also benefit from some polishing in how the completions are ordered, for example that fields of a class take prioritity over defaults like
toString
/finalize
The text was updated successfully, but these errors were encountered: