Live data from Hacker News

Tern – Intelligent JavaScript editing

ternjs.net

1–10 of 82 posts

Re: Tern – Intelligent JavaScript editing

#8

I typed "[[[[" and the script became unresponsive (hung). Repeated by reloading the page. Same result. FireFox / MacOS.

Should be better now. It was a change I made half an hour ago. Ad-hoc changes to sites that are receiving traffic always do that.

[You'll need to hard-refresh to get the fixed code.]

Re: Tern – Intelligent JavaScript editing

#10
post #9

Amazing, but it could be even more awesome if you could provide API that could be integrated with other editors.

> 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.

Post reply on HN