spacemacs/layers/+lang/typescript
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
packages.el layers: Transition to new key bindings functions 2015-11-21 18:22:51 +01:00
README.org Fix some documentation bugs 2015-12-03 23:50:29 -05:00

TypeScript layer

/TakeV/spacemacs/media/commit/b943d00ae451b9c327dd459f8932b58712e0361c/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)