Created
December 17, 2011 18:31
-
-
Save orta/1490994 to your computer and use it in GitHub Desktop.
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
{ | |
// 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, | |
// Any options you want to give to clang | |
"options": | |
[ | |
"-Wall", | |
"--isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk", | |
"-I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/", | |
"-I/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/", | |
"-I/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/clang/3.0/include/", | |
"-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/", | |
"-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/", | |
"-I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/libxml2", | |
"-I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/include/libxml2/libxml", | |
"-include /Users/orta/Library/Developer/Xcode/DerivedData/[---- path to my derived prefix ----]-Prefix.pch" | |
] | |
} |
Hrm, my app prefix used to be held there, I guess you can just find it inside your project directory instead
##
./orta - orta.github.com - @orta
…On Monday, 14 May 2012 at 16:37, Will Prater wrote:
What does this last bit do
"-include /Users/orta/Library/Developer/Xcode/DerivedData/[---- path to my derived prefix ----]-Prefix.pch"
My paths for Xcode 4.3 aren't putting the .pch file in my DerivedData for my product.
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1490994
Yeah, I'll use that one. Im still having a bunch of issues, and opened a ticket here:
https://github.com/quarnster/SublimeClang/issues/52
Are you still using SublimeClang for iOS dev?
I made that gist a month or so after SublimeClang was announced, it was pretty unpolished, looks like it works a lot more somewhat than it used to
##
./orta - orta.github.com - @orta
…On Monday, 14 May 2012 at 22:10, Will Prater wrote:
Yeah, I'll use that one. Im still having a bunch of issues, and opened a ticket here:
https://github.com/quarnster/SublimeClang/issues/52
Are you still using SublimeClang for iOS dev?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1490994
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What does this last bit do
My paths for Xcode 4.3 aren't putting the .pch file in my DerivedData for my product.