Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

jason chan
jason chan
31,009 Points

how do you get ternjs to work on sublimetext?

How do you get the ternjs plugin to work on sublimetext? thanks

3 Answers

Hi,

Try these links ... https://github.com/marijnh/tern_for_sublime http://emmet.io/blog/sublime-tern/

http://meteorpedia.com/read/Sublime_Text install Package Control (https://sublime.wbond.net/installation) install TernJS (sublime-tern) plugin (cmd+shift+p -> install package -> sublime-tern -> restart sublime) cd to Sublime Text packages directory Linux: ~/.config/sublime-text-3/Packages Mac OS X: ~/Library/Application Support/Sublime Text 3/Packages cd sublime-tern/ternjs/plugin (or if it doesn't exist, mkdir -P TernJS/ternjs/plugin and cd there) download meteor.js file to here, ctrl-shift-p and TernJS: Reload. And then:

Create a new sublime project, save it (in the root directory of your project!), add files edit project configuration (menu->project->edit project) edit the json file in this manner:

Yes! I like emmet too.

jason chan
jason chan
31,009 Points

Thanks ellie.

I got it to work it's not as good as emmet though. EMMET for life.