TypeScript

From WikEmacs
Revision as of 12:54, 10 May 2017 by Elvince (talk | contribs) (Undo revision 47807 by Elvince (talk))
Jump to navigation Jump to search

How can we program in TypeScript in Emacs ? Let's dive in.

Tide - Typescript Interactive Development for Emacs

Tide features:

  • ElDoc
  • Auto complete
  • Flycheck
  • Jump to definition, Jump to type definition
  • Find occurrences
  • Rename symbol
  • Imenu
  • Compile On Save
  • Highlight Identifiers
  • Code Fixes
  • supports jsx files
  • format options via elisp or tsfmt.json
  • works well with js2-mode

It uses tsserver as the backend for most of the features. It writes out a comprehensive log file.