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