Created
December 31, 2020 14:44
-
-
Save tangoabcdelta/991ebe524a2d9e5340780ad95f51caf9 to your computer and use it in GitHub Desktop.
Sublime Project Settings File with several build_systems examples: reference.sublime-project
This file contains 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
{ | |
"folders": [{ | |
"path": "src", | |
"folder_exclude_patterns": ["backup"], | |
"follow_symlinks": true | |
}, | |
{ | |
"path": "docs", | |
"name": "Documentation", | |
"file_exclude_patterns": ["*.css"] | |
} | |
], | |
"settings": "settings": { | |
"ignored_packages": [ | |
"Vintage" | |
], | |
"translate_tabs_to_spaces": true, | |
"tab_size": 2, | |
"use_tab_stops": true, | |
"detect_indentation": true, | |
"indent_to_bracket": true, | |
"word_wrap": true, | |
"wrap_width": 80, | |
"indent_subsequent_lines": true, | |
"auto_match_enabled": true, | |
"always_show_minimap_viewport": true, | |
"match_brackets": true, | |
"match_brackets_angle": true, | |
"draw_white_space": "all", | |
"trim_trailing_white_space_on_save": true, | |
"shift_tab_unindent": true, | |
"folder_exclude_patterns": [ | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"node_modules", | |
".vscode" | |
], | |
"rulers": [80, 100], | |
"file_exclude_patterns": [ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", | |
"*.o", | |
"*.a", | |
"*.lib", | |
"*.so", | |
"*.dylib", | |
"*.ncb", | |
"*.sdf", | |
"*.suo", | |
"*.pdb", | |
"*.idb", | |
".DS_Store", | |
"*.class", | |
"*.psd", | |
"*.db", | |
"*.sublime-workspace" | |
] | |
}, | |
"build_systems": [{ | |
"name": "List", | |
"shell_cmd": "ls -l" | |
}, | |
{ | |
"name": "Sublime Text - Build System for Javascript", | |
"cmd": ["/usr/local/bin/node", "$file"], | |
"selector": "source.js" | |
}, | |
{ | |
"name": "Sublime Text - Build System for PHP", | |
"cmd": ["php", "$file"], | |
"selector": "source.php" | |
}, | |
{ | |
"name": "Sublime Text - Build System for Javascript", | |
"cmd": ["node", "$file"], | |
"selector": "source.js", | |
"path": "$PATH:/usr/local/bin/" | |
}, | |
{ | |
"cmd": ["c:\\Program Files\\App\\10\\compile.exe", "$file"], | |
"selector": "source.app", | |
"file_patterns": "*.ext" | |
}, | |
{ | |
"target": "app_build", | |
"cancel": { | |
"kill": true | |
}, | |
"cmd": ["c:\\Program Files\\App\\\\${version:100}\\compile.exe", "$file"], | |
"selector": "source.app", | |
"file_patterns": ["*.ext"] | |
}, | |
{ | |
"cmd": ["g++", "-std=gnu++11", "${file}", "-o", "${file_path}/${file_base_name}"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c, source.c++", | |
"variants": [{ | |
"name": "Run", | |
"cmd": ["${file_path}/${file_base_name}"] | |
}] | |
}, | |
{ | |
"cmd": ["c:/Python32/python.exe", "-u", "$file"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.python" | |
}, | |
{ | |
"cmd": ["c:/Python32/python.exe", "-u", "$file"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.python", | |
"shell": "true" | |
}, | |
{ | |
"cmd": ["coffee", "-c", "$file"], | |
"selector": "source.coffee", | |
"path": "/usr/local/bin" | |
}, | |
{ | |
"cmd": ["gradle"], | |
"shell": "true", | |
"working_dir": "${project_path}" | |
}, | |
{ | |
"shell_cmd": "gradle", | |
"working_dir": "${project_path}" | |
}, | |
{ | |
"name": "Yarn Start", | |
"shell": "true", | |
"cmd": ["yarn","start"], | |
"working_dir": "${project_path}", | |
"path": "/home/$(USER}/.nvm/versions/node/v15.0.1/bin/" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment