Closed jadenv closed 3 months ago
I'm working on this issue, but I'm afraid I've made extensive changes to the project (fully rewritten), so not sure if my changes will be merge-friendly. Take a look: https://github.com/lordfirespeed/idea-run-typescript
Not all features have been re-implemented yet.
Is there any way I can do this while waiting for the new project to be released? For example modify plugin code and reinstall it manually?
I released my own version of the plugin, but it isn't in a great state: https://plugins.jetbrains.com/plugin/22824-run-configuration-for-typescript
There are a few issues I need to resolve but it does work when the execute package is selected manually. If you have issues with it, open an issue or discussion on the repo and I'll do my best to help you out.
Native support was added to directly run and debug TypeScript files, so this will no longer be necessary 😊
tsx
,esno
.ts-node
, andesm-ts-node
are all supported TypeScript Node packages.However, there is no way to specify a default if your project has multiple installed that can be discovered.
Editing the Run/Debug Configuration Templates and setting a different TypeScript Node packages does not seem to have any effect.
It is tedious when right clicking a file and creating a new config to have to immediately edit it to run with the different package.