Week05 Day06&07

  • The node package for sublime
    • Installed the Nodejs package with the sublime text 2 package manager
    • Edited my: ~/Library/Application Support/Sublime Text 2/Packages/Nodejs/Nodejs.sublime-build to include the line:
      • "path" : "/usr/local/bin",
      • (gotten from running which node in the terminal)
    • Also edited my: ~/Library/Application Support/Sublime Text 2/Packages/Nodejs/Nodejs.sublime-settings from
      • "node_command": false,
      • TO
      • "node_command": "/usr/local/bin/node",
      • UPDATE: a week later, these 2 settings got cleared. Popup window for code execution would not work without the additional line: "node_path": "/usr/local/bin/", being added to: ~/Library/Application Support/Sublime Text 2/Packages/Nodejs/Nodejs.sublime-settings
    • Then, was able to press ^R to see the results of my code (traditional cmd+B does not return errors anymore, but also does not print the results of the code)
    • I also installed sublime linter and jslint to get some really nice syntax highlighting (jshint does the same thing, and has more useful error messages)
      • Screen Shot 2013-07-20 at 2.53.19 PM
    • More stuff
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s