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

sublime text 4 c语言设置 #10

Open
Triment opened this issue Nov 1, 2021 · 0 comments
Open

sublime text 4 c语言设置 #10

Triment opened this issue Nov 1, 2021 · 0 comments

Comments

@Triment
Copy link
Owner

Triment commented Nov 1, 2021

安装esayclangcomplete

配置

{  
    "common_flags" : [
    // some example includes
    //"-I/usr/include",
    "-I$project_base_path",
    // this is needed to include the correct headers for clang
    "-I/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0",
    "-I/Library/Developer/CommandLineTools/usr/include/c++/v1",   
    ],
    "lang_flags": {
      "C": ["-std=c11"],
      "CPP": ["-std=c++11"],
      "OBJECTIVE_C": ["-std=c11"],
      "OBJECTIVE_CPP": ["-std=c++11"],
    },
    "hide_default_completions": true,
    "show_type_info": true,
    "show_type_body" : true,
    "show_errors": true,
    "autocomplete_includes": true,
}
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

1 participant