Last active
December 27, 2015 08:39
-
-
Save logicmason/7298453 to your computer and use it in GitHub Desktop.
My Sublime Text 2 user preferences will automatically trim trailing whitespace on every save, and the Node.js build system allows running JavaScript files by hitting command-b. If your Node installation is in a different location you may have to change the path in the "cmd" line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["/usr/local/bin/node", "$file", "$file_base_name"], | |
"working_dir": "${project_path:${folder}}", | |
"selector": "*.js" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"font_size": 13.0, | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"trim_automatic_white_space": true, | |
"trim_trailing_white_space_on_save": true, | |
"use_tab_stops": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment