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 for showing the fully ppx code for a file #68

Open
mbergal opened this issue Jan 19, 2021 · 2 comments
Open

Support for showing the fully ppx code for a file #68

mbergal opened this issue Jan 19, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@mbergal
Copy link

mbergal commented Jan 19, 2021

reason-vscode has quite useful Show the fully ppx code for this file command that shows what the ppx result would look for that file. Is it possible to replicate this functionality in Rescript extension?

image

@chenglou chenglou reopened this Apr 27, 2021
@cristianoc cristianoc added the enhancement New feature or request label Jun 7, 2021
@zth
Copy link
Collaborator

zth commented Jun 2, 2022

@cristianoc is there a way for us currently to get the source after PPX in the extension?

@cristianoc
Copy link
Collaborator

I think it would have to happen at a lower level, after the ppx has run, but before type checking.
So this is something that I guess the compiler binary should provide, at which point it could be exposed here.

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

No branches or pull requests

4 participants