tide

https://github.com/ananthakumaran/tide.git

git clone 'git://github.com/ananthakumaran/tide.git'
19

Tide

TypeScript Interactive Development Environment for Emacs

screencast

Installation

````cl ;; sample config (add-hook ‘typescript-mode-hook (lambda () (tide-setup) (flycheck-mode t) (setq flycheck-check-syntax-automatically ’(save mode-enabled)) (eldoc-mode t) ;; company is an optional dependency. You have to ;; install it separately via package-install (company-mode-on)))

;; aligns annotation to the right hand side (setq company-tooltip-align-annotations t)

````

Notes

Commands

Keyboard shortcuts | Description ————————————|———- C-c d | Show documentation for the symbol at point. M-. | Jump to the definition of the symbol at point. With a prefix arg, Jump to the type definition. M-, | Return to your pre-jump position.

M-x tide-restart-server Restart tsserver. Currently tsserver doesn't pickup tsconfig.json file changes. This would come in handy after you edit tsconfig.json.

M-x tide-references List all references to the symbol at point in a buffer. References can be navigated using n and p. Press enter to open the file.

M-x tide-rename-symbol Rename all occurrences of the symbol at point.

Features