Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Add support for "Show Decoded" functionality #430

Open
ckipp01 opened this issue Sep 16, 2021 · 2 comments
Open

Add support for "Show Decoded" functionality #430

ckipp01 opened this issue Sep 16, 2021 · 2 comments
Labels
feature New feature or request

Comments

@ckipp01
Copy link
Member

ckipp01 commented Sep 16, 2021

Task

In scalameta/metals#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 ckipp01 added the task General task that needs to be completed label Sep 16, 2021
@ckipp01
Copy link
Member Author

ckipp01 commented Sep 28, 2021

Note that there has been some more changes on the expected input for this here: scalameta/metals#3148

@ckipp01 ckipp01 changed the title Add support for "Show Tasty" functionality Add support for "Show Decoded" functionality Oct 12, 2021
@ckipp01
Copy link
Member Author

ckipp01 commented Oct 12, 2021

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

  • decode TASTy
  • decode javap
  • decode SemanticDB

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

@ckipp01 ckipp01 added feature New feature or request and removed task General task that needs to be completed labels Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant