Sometimes it is just useful to see the typechecked AST of a scala expression.
Macros to the rescue:
import scala.reflect.macros.Context
import scala.language.experimental.macros
<!DOCTYPE html> | |
<meta charset=utf-8> | |
<title>Minimal Plunk</title> |
{ | |
"cmd": ["tsc", "$file"], | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"selector": "source.ts", | |
"osx": { | |
"path": "/usr/local/bin:/opt/local/bin" | |
}, | |
"windows": { | |
"cmd": ["tsc.cmd", "$file"], | |
"path": "C:\\Program Files\\nodejs\\;C:\\Users\\Lukas\\AppData\\Roaming\\npm\\" |