This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/!lang/typescript
2015-06-11 21:31:42 -04:00
..
img Prefix categories with ! 2015-05-25 00:50:38 -04:00
packages.el Prefix categories with ! 2015-05-25 00:50:38 -04:00
README.org Fix various key bindings in converted READMEs 2015-06-11 21:31:42 -04:00

TypeScript contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/77c08269570e4f815772dfbe96199eda3c5f11af/contrib/!lang/typescript/img/TypeScript.png

Table of Contents   TOC@4

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)