3 ms·
Amazing, but it could be even more awesome if you could provide API that could be integrated with other editors.
by jakozaur 14y ago
Amazing, but it could be even more awesome if you could provide API that could be integrated with other editors.
- NuZZ 14y ago> But that is a proprietary system tied to a single IDE. If the crowd-funding succeeds, Tern will be an open system that can (and will) be plugged into a variety of editors and IDEs. Hopefully, that will happen. Sounds very cool though, as my IDE, sublime text, is rather underpowered in the intelligence department I'm afraid. I could imagine it applying .tmLanguage scopes to words in the document, where you could colorize different variables according to type (I would opt for different background shades, myself). Then, mixed type colors (prompting you to click it and see what Tern says) when you can't know. Damn, that would be helpful.
- marijn 14y agoAs NuZZ noted, this is the plan. It is already written as a library with a server-like architecture (you send requests and get JSON responses). The vision is to wrap it in a stand-alone HTTP server shim that understands .tern-project files that you can drop in your project directory, and then write editor plug-ins that talk to this server (and automatically start it up if it's not already running).