Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac os x 10.11.3配置的问题 #48

Open
causlayer opened this issue Mar 6, 2016 · 1 comment
Open

mac os x 10.11.3配置的问题 #48

causlayer opened this issue Mar 6, 2016 · 1 comment

Comments

@causlayer
Copy link

我的配置文件:
{
// Additional language specific options for clang.
"additional_language_options":
{
// For example, you can use "c++": ["-std=c++11"] to enable C++11 features.
"c++" : [],
"c": ["-std=c99"],
"objc": [],
"objc++": []
},

// open or close inhibit the sublime text 3 built in word completions
"inhibit": true,

// add include options to clang
// this can also be specified as project specific options.
// add something like the following to the `settings` section in your `<name>.sublime-project` file:
// 
// 
//     
// "settings":
// {
//     "cc_include_options":
//     [
//         "-I/headfile_path1",
//         "-I/headfile_path2",
//         "-I/headfile_path3",
//         ...
//     ]
//     ...
// }
// if "cc_include_options" exists in your project settings, it'll override rather than add
// to the "include_options" defined in cc.sublime-settings.

"include_options":
[
"-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/include",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1",
"-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
// "-isystem", "/usr/include",
// "-isystem", "/usr/include/c++/*",
"-isystem", "/Users/apple/Documents/apple/project/k-vim/bundle/YouCompleteMe/third_party/ycmd/cpp/llvm/include",
"-Wall"
],

// do not show markers for warnings or errors on save.
"hide_error_mark": false,

// do not show the panel for warnings and errors on save.
"hide_error_panel": false,

}
我输入的时候出不来,只有按.的时候才会出现提示。另外我用的是最新的3.7

@tim37021
Copy link

Translate to English...
My configuration:
{
// Additional language specific options for clang.
"additional_language_options":
{
// For example, you can use "c++": ["-std=c++11"] to enable C++11 features.
"c++" : [],
"c": ["-std=c99"],
"objc": [],
"objc++": []
},
// open or close inhibit the sublime text 3 built in word completions
"inhibit": true,

// add include options to clang
// this can also be specified as project specific options.
// add something like the following to the settings section in your <name>.sublime-project file:
//
//
//
// "settings":
// {
// "cc_include_options":
// [
// "-I/headfile_path1",
// "-I/headfile_path2",
// "-I/headfile_path3",
// ...
// ]
// ...
// }
// if "cc_include_options" exists in your project settings, it'll override rather than add
// to the "include_options" defined in cc.sublime-settings.

"include_options":
[
"-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/7.0.2/include",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1",
"-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/",
"-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
// "-isystem", "/usr/include",
// "-isystem", "/usr/include/c++/*",
"-isystem", "/Users/apple/Documents/apple/project/k-vim/bundle/YouCompleteMe/third_party/ycmd/cpp/llvm/include",
"-Wall"
],
// do not show markers for warnings or errors on save.
"hide_error_mark": false,

// do not show the panel for warnings and errors on save.
"hide_error_panel": false,

}

It shows nothing when I type. the hints only appear when typing ".". by the way, I am using newest llvm 3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants