Last active
December 15, 2015 05:49
-
-
Save wakinchan/5212033 to your computer and use it in GitHub Desktop.
Sublime Text 2 options.
cf. https://gist.github.com/orta/1490994
Don't operate smoothly...
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
{ | |
// Delay in ms until autocompletion pops up after . or :: or -> | |
// Set to 0 to disable | |
"popup_delay": 100, | |
// Delay in ms until recompiling the file after the buffer is modified | |
// Set to 0 to disable | |
"recompile_delay": 1000, | |
// Whether or not to hide the clang output panel when it's empty | |
"hide_output_when_empty": false, | |
// When set to true, will display visual error markers. recompile_delay | |
// must be set to > 0 | |
"show_visual_error_marks": true, | |
// This is the bitmask sent to index.parse. | |
// For example, to be able to go to the definition of | |
// preprocessed macros, set it to 1, for using an implicit | |
// precompiled header set it to 4 and for caching completion | |
// results, set it to 8. Or all together 1+4+8=13. | |
// | |
// See http://clang.llvm.org/doxygen/group__CINDEX__TRANSLATION__UNIT.html#gab1e4965c1ebe8e41d71e90203a723fe9 | |
// and http://clang.llvm.org/doxygen/Index_8h_source.html | |
// for more details | |
"index_parse_options": 13, | |
// If set to false, the main thread will lock while parsing | |
// the file, but commands will work the first time they are | |
// executed rather than the first time after warm up has | |
// finished | |
"warm_up_in_separate_thread": true, | |
// If set to true will warm up the cache for supported files | |
// when they are opened | |
"cache_on_load": true, | |
// If set to true will remove the file from the cache when | |
// it is closed | |
"remove_on_close": true, | |
// If set to true will pop the file from the navigation stack | |
// (automatic ctrl+d,ctrl+b) when the file is closed | |
"pop_on_close": true, | |
// Don't show stuff in the autocomplete list when the name starts with the following | |
"dont_complete_startswith": | |
[ | |
"~", | |
"operator" | |
], | |
// If set to true it'll add for example "-x c++" to the options for c++ files | |
"add_language_option": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
// Any options you want to give to clang | |
"options": | |
[ | |
"-Wall", | |
"--isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk", | |
// "-I/usr/lib/clang/4.1/include", | |
"-I/usr/lib/clang/4.2/include", | |
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/include", | |
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/arm-apple-darwin10/4.2.1/include", | |
// "-I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/clang/3.0/include/", | |
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/include", | |
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks", | |
"-I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/PrivateFrameworks" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment