Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 2.24 KB

File metadata and controls

53 lines (35 loc) · 2.24 KB

Intellij TypeScript Run Configuration

Build Version Downloads

Description

This IntelliJ Platform plugin adds a run configuration template for TypeScript.

Main Features

  • Allows 'Current File' run configuration for TypeScript (.ts) files
  • Supports TypeScript scratch files
  • Supports selecting a TypeScript project file (.tsconfig)
  • Supports selecting your TypeScript Execute package of choice. Supported packages:
    • ts-node
    • tsx
    • esno (which is actually tsx)
  • Supports choosing a particular loader (e.g. CJS only, ESM only) for your package of choice
  • Supports debugging

Future Features

These features can be implemented if interest is shown for them.

  • 'Run interactively' run configuration analogous to 'Run in Python Console'
  • Bun runtime support

Dependencies

Bundled JetBrains Platform plugins:

Installation

Install via JetBrains plugin marketplace, either in-browser or in your JetBrains IDE.

About

This project is largely a rewrite of @bluelovers' idea-run-typescript plugin.

Some implementation mirrors JetBrains' npm, node and jest Run Configuration implementations @ Intellij Platform build 222.

Credit to intellij-rust for build scripts and project structure.

Icon made by Freepik is sourced from www.flaticon.com and licensed by Creative Commons 3.0