rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Support for showing the fully ppx code for a file

Open mbergal opened this issue 5 years ago • 2 comments

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

mbergal avatar Jan 19 '21 23:01 mbergal

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

zth avatar Jun 02 '22 16:06 zth

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.

cristianoc avatar Jun 02 '22 16:06 cristianoc