Hacker News new | ask | show | jobs
by trevordev 3852 days ago
Typescript has became my favorite language. The option of having types when you need them is great and the addition of async/await make working with promises a lot nicer. Ever since I've been able to use experimental features and get es6 support with typescript I've never looked back. The only thing lacking now is the tooling. The atom-typescript plugin is the best I've found but I would love to see better integration with other editors. Can't wait to see what comes to typescript next!
3 comments

I can't speak to atom, but have you considered Visual Studio Code? That and VS2015 are tightly integrated with the TypeScript compiler and language service (provides autocomplete, type hinting, go-to definition, etc.).

For sublime, there is a plugin actively developed by Microsoft [1].

For vim, the plugin YouCompleteMe provide autocomplete [2].

Also, I haven't tried it, but there's an Emacs-mode, apparently [3].

There are also numerous other alternatives I'm unfamiliar with.

Hope this helps!

[1] https://github.com/Microsoft/TypeScript-Sublime-Plugin

[2] http://valloric.github.io/YouCompleteMe/#intro

[3] https://github.com/aki2o/emacs-tss

WebStorm (IntelliJ) support is really good as well.
I'm not sure how this support will be added though. So far the last WebStorm ( which arrived a month ago ) supports 1.6, but definitely not as good as let's say visual code.

Example for that is lack of per module definition files .d.ts and package.json typing a property.

I'm fairly In a mood to switch to visual code or Atom, since I write exclusively typescript nowadays.

One of the atom-typescript guys (basarat) has built his own typescript focused editor: http://www.typescriptbuilder.com

It's built entirely in Typescript and is not based on the Electron shell. Why they built it is mentioned here https://github.com/TypeScriptBuilder/tsb/blob/master/docs/co...

Visual Studio Code is really nice. Feels streamlined, compared to Atom.