context-applied icon indicating copy to clipboard operation
context-applied copied to clipboard

Autocompletion friendly?

Open gvolpe opened this issue 4 years ago • 1 comments

I noticed that IDEs (well, at least Metals) don't understand what methods are available in the F context. Have you come across this issue? Anything we could do better so IDEs get this information?

gvolpe avatar Apr 23 '20 12:04 gvolpe

Just for the record, I contributed support for IntelliJ (https://github.com/JetBrains/intellij-scala/pull/501), it's live at least on 2020.2 . Wasn't that hard to do as it has some notion of synthetics, so program code which is on the fly generated by plugins or the IDE itself, so I could just inject a "virtual" additional implicit parameter. I doubt Metals has something close to it, but maybe the approach can still be inspiring...

ybasket avatar Aug 03 '20 11:08 ybasket