Skip to content
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

Support "Show decoded TASTY" on TASTy files #366

Open
KacperFKorban opened this issue Dec 17, 2023 · 0 comments
Open

Support "Show decoded TASTY" on TASTy files #366

KacperFKorban opened this issue Dec 17, 2023 · 0 comments

Comments

@KacperFKorban
Copy link

Is your feature request related to a problem? Please describe.

It would be great to be able to read decoded tasty directly from TASTy files in addition to the current way of reading TASTy files associated with scala files. This would be very useful for any tooling-related work. This is useful for cases when we don't have a scala file and just want to read the TASTy.

Describe the solution you'd like

I would like to be able to right-click on a tasty file and display a prettified version of the file, exactly the same way as with scala files currently. ("Metals Analyse Source" > "Show decoded TASTy")

Describe alternatives you've considered

An alternative would be to make this the default action for displaying tasty files.

Additional context

I think that this should be fairly easy, since AFAIK the current "Show decoded TASTy" feature first finds the TASTy file and then prettifies it. So, the bulk of this feature should be already implemented.

Search terms

TASTy, analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant