Please open-source the VS extension

Topics: General
Oct 9, 2012 at 10:43 AM

There's no reason for the Visual Studio TypeScript extension not to be open source, is there? And even if it were just MS-PL, it could still be a valuable resource for people looking to implement more advanced tooling (code-completion, refactoring, realtime warnings, etc) for Sublime Text 2, MonoDevelop, Vim, Emacs, IntelliJ, Eclipse, NetBeans...

Coordinator
Oct 9, 2012 at 3:38 PM

While the VS plugin itself is not available as open-source, we do open-source the TypeScript language service along with the compiler (which you can checkout as part of the repository).  

Oct 9, 2012 at 6:05 PM
jonturner wrote:

While the VS plugin itself is not available as open-source, we do open-source the TypeScript language service along with the compiler (which you can checkout as part of the repository).  

Why is the VS plugin not open sourced? 

Oct 9, 2012 at 9:06 PM
jonturner wrote:

While the VS plugin itself is not available as open-source, we do open-source the TypeScript language service along with the compiler (which you can checkout as part of the repository).  

Maybe some examples of calling the language service from C# could be included in the Samples in the repository? Anything to get us started would be really helpful, and you're going to see much more enthusiastic adoption if the amazing tooling story can be extended to other IDEs and editors.

Oct 10, 2012 at 2:28 AM

+1 NetBeans

Oct 10, 2012 at 3:35 AM

Here's an open request to add TypeScript support in IntelliJ : http://youtrack.jetbrains.com/issue/WI-13714

Nov 3, 2012 at 1:52 AM

I second the above.  I've been looking high and low for a way to begin implementing intellisense in Sublime Text 2 and open sourcing the VS extension would be incredibly helpful.

Dec 22, 2012 at 2:54 PM

I wish this also.

Dec 26, 2012 at 10:33 AM

I started to implement an IDE in TypeScript. It is open source (Apache License), so you are free to use the code in there to see how to implement intellisense type of functionality. 

You can get it at: http://jbaron.github.com/cats/

// Peter

 

Dec 26, 2012 at 5:22 PM

Wow!  Incredible work.  

Dec 26, 2012 at 8:42 PM
jonturner wrote:

While the VS plugin itself is not available as open-source, we do open-source the TypeScript language service along with the compiler (which you can checkout as part of the repository).  

And I've got a project here

https://github.com/clausreinke/typescript-tools

for accessing the language services from the commandline. Most IDEs and programmable editors should be able to communicate with such a commandline server as an asynchronous subprocess. An example plugin for Vim is included (type lookup, jump to definition, completion, dependency chasing, compiler errors).

The protocol is simple (commands in, json info out) - let me know if you build plugins based on it. If the current protocol causes problems for other editors/IDEs, let me know, too, it is version 0.0, so some things can still change!-)

There are lots of things that would help, including:

- an external links page: http://typescript.codeplex.com/workitem/520

- the language services don't seem to do dependency chasing atm, so I had to take that from the compiler

- the TypeScript sources aren't using external modules, and the npm project doesn't include the services, so instead of importing them, I have to compile them in

http://typescript.codeplex.com/workitem/521

http://typescript.codeplex.com/workitem/97

http://typescript.codeplex.com/workitem/534

In general, interaction could be improved (eg, a proper project mailing list, with the developers chiming in). Something for New Years Resolutions?-)

Happy Holidays!

Dec 27, 2012 at 12:56 AM

Even better.  Using this, I'm going to give a full-hearted attempt at creating an intellisense editor for Sublime Text 2.  Thanks for all of your work on this.