Dev*_*X10 8 c++ autocomplete sublimetext sublime-text-plugin
我正在尝试使用c ++库在Sublime Text上拥有自动完成功能.我经常使用EIGEN,但是这个库中的函数没有自动完成功能.我怎么能以某种方式导出库让sublime知道我可以在这个库中使用的所有函数和方法?
我将不胜感激任何有用的答案.
jdh*_*hao 10
我使用EasyClangComplete包来自动完成C++代码.它工作正常.
您可以使用安装此软件包Package Control.它很容易设置,工作设置如下:
{ "common_flags" : [
// some example includes
"-I/usr/include",
"-I$project_base_path/src",
// this is needed to include the correct headers for clang
"-I/usr/local/lib/clang/4.0.1/include", ], "cpp_flags" : [
"-std=c++11",
"-Wall" ],
"errors_style": "phantoms",
"hide_default_completions": true,
"progress_style": "ColorSublime",
"show_type_info": false,
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
26151 次 |
| 最近记录: |