bluelovers / idea-run-typescript

IntelliJ IDEA (and WebStorm...) plugin to support 'TypeScript' as a run configuration
https://plugins.jetbrains.com/plugin/10841-run-configuration-for-typescript
76 stars 14 forks source link

Add ability to run TS scratch files #5

Closed pelepelin closed 4 years ago

pelepelin commented 5 years ago

There are "run" and "save" options in the drop-down menu of a normal file tab, however, they are not present for "scratch file" tab.

bluelovers commented 5 years ago

where is "scratch file", can u give screenshot , let me see how to go and view it

NorthFury commented 5 years ago

You can create one by using File -> New -> Scratch File.

bluelovers commented 4 years ago

@NorthFury @pelepelin support at v2020.2.19.0

bluelovers commented 4 years ago
// @ts-ignore
console.log(process.cwd())

process.cwd() will be project root

image