spacemacs/layers/+lang/typescript/README.org
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00

1.4 KiB

TypeScript contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/d850fbc9aa143d449a3ecbdf70595e970e28c7e8/layers/+lang/typescript/img/TypeScript.png

Description

This layer adds support for TypeScript editing via typescript-tools and emacs-tss.

This layer provides:

  • syntax coloring
  • error highlighting
  • auto-completion via Flymake
  • jump-to-definition

Install

Layer

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(typescript))

Prerequisites

You'll need typescript-tools and fairly obviously also the TypeScript compiler:

  $ npm install typescript
  $ git clone git://github.com/clausreinke/typescript-tools.git
  $ cd typescript-tools/
  $ npm install -g

Key bindings

Key Binding Description
SPC m g g Jump to definition
SPC m h h Show popup help (with type info)