Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Aaron Lara
I'm a Java developer who drinks coffee and transforms it in code (Awesome, right?!). I have been working at genuitec as a developer since December, 2011. Programming really cool stuff :) ... Ah I'm a gamer, so if you want to play something in steam just let me know :D

Update: Since this article was initially published, Genuitec has added advanced TypeScript support to their free Eclipse plugin, Webclipse. Give it a try!

TypeScript is an open source superset of JavaScript that adds class based objects that compile to JavaScript plain code. Currently there are two main options to support TypeScript in Eclipse. I’m going to discuss their features and pros and cons of each.

Palantir’s TypeScript (Version 1.6.0.v20151006)

This plugin offers minimal support for TypeScript and uses the official TypeScript compiler.

palantir

Example of Palantir’s TypeScript

Pros

  • Installation is simple

Cons

  • Outline view doesn’t display return type and arguments for methods
  • “Open definition” doesn’t work for standard types and it doesn’t support definitions file
  • Limited documentation

TypEcs (Version 4.0)

This plugin polishes some of the rough edges of the Palantir plugin and adds some interesting features like debug support for Node.js and web apps.

typecs

Example of TypEcs TypeScript

Pros

  • Installation is simple
  • Better highlighting support than Palantir plugin
  • Adds New>TypeScript file menu item
  • Open Declaration works as expected
  • Debug support for Node.js and web projects
  • More attractive TypeScript file icons
  • Helpful documentation with screenshots and feature descriptions
  • Continuous updates

Cons

  • Outline view doesn’t display return type and arguments for methods

Comparison of Features

The following table shows the features for both of the plugins:


Palantir

TypEcs

Code completion

Compile-on-save

Cross-project compilation

Error annotations/markers

Find references

Format code

Highlight matching brace

Hover for JSDoc

Mark occurrences

Open definition

Outline view

Quick outline

Rename refactor

Syntax highlighting

Task tags

Toggle comment

Node.js and WebRemote debug support

Conclusion

The current options for supporting TypeScript in Eclipse are limited. In my opinion, the best option is to use TypEcs for TypeScript support in Eclipse since it improves upon Palantir’s plugin by adding the debug support for Node.js and WebRemote. 

Thanks to Sal Cabrera for his assistance in this article. 

Related Posts

PHP Development in Eclipse Has Never been Easier! Great news for you, PHP developer: your coding experience in Eclipse just got better thanks to CodeMix! It’s an Eclipse plugin that gives you access to a whole array of technologies from VS Code and add-on extensions built for Code OSS.How does CodeMix handle PHP support? Directly from Code OSS! There is also extra functionality thanks to an array ...
CodeMix – Technical Preview Now Available Today, we’ve shipped to the the Eclipse community our technical preview of CodeMix. What is CodeMix, how do you install it, what makes it so cool? Read on for the details.What is CodeMix?CodeMix is a technology that allows developers to take advantage of the wide array of tooling, language, and framework support that is available with Visual Studio...
MyEclipse 2018 – Where Art Thou? MyEclipse 2017 was first released in January 2017, and its most recent release, 2017 CI 10, was in December 2017. We will probably have a couple additional 2017 releases to round off that stream as well … so where’s MyEclipse 2018?The short answer - MyEclipse 2018 is coming in May, with one game-changing addition, CodeMix! What else is included in ...
CodeMix – A Genesis At Genuitec, we have been building developer software for nearly two decades. Our goal is to provide customers with access to seamless tool stacks, regardless of where the technology originates. However, delivering timely solutions in a rapidly evolving language and technologies world is critical to modern development and continues to be our larges...

Posted on Nov 24th 2015