Clang-Complete icon indicating copy to clipboard operation
Clang-Complete copied to clipboard

mac os x 10.11.3配置的问题

Open causlayer opened this issue 8 years ago • 1 comments

我的配置文件: { // 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

causlayer avatar Mar 06 '16 08:03 causlayer

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

tim37021 avatar Jul 16 '16 14:07 tim37021