scalameta / coc-metals

Deprecated in favor of scalameta/nvim-metals
http://scalameta.org/metals/
Apache License 2.0
167 stars 24 forks source link

Add support for "Show Decoded" functionality #430

Open ckipp01 opened 2 years ago

ckipp01 commented 2 years ago

Task

In https://github.com/scalameta/metals/pull/3063 there was a new feature added to Metals which allows a user (when in Scala 3) to execute a "Show Tasty" command in order to see the TASTy file for a given Scala 3 file. It'd be great to have this supported in coc-metals.

Additional context

You can see how it was supported in the other clients here:

ckipp01 commented 2 years ago

Note that there has been some more changes on the expected input for this here: https://github.com/scalameta/metals/pull/3148

ckipp01 commented 2 years ago

Note that this has changed quite a bit from when I first created this. There are now multiple decode features:

They are all implemented in a similar way. You can see an example of how these all come together here: https://github.com/scalameta/nvim-metals/pull/237/files