您的位置:首页 > 编程语言 > C语言/C++

[OpenSource]_[Make Sublime Text 2 Plugin- C++ Header Jump]

2014-03-08 01:21 363 查看
C++头文件跳转Sublime Text 2 插件.

project site: https://github.com/walker-python/JumpToIncludeHeader
Sublime Text 2 Plugins,select include file,then press f12 jump to C++ include file location.

First,copy jump_to_include_header.py to Sublime Text 2.0.2\Data\Packages\JumpToIncludeHeader\jump_to_include_header.py

Second,Click Preferences->Key Binding User,Add follow keys define.

{ "keys": ["f12"], "command": "jump_to_include_header",
"args":{
"options":{
"user_search_path":[".", "include", "src",
"C:/software/Python27/include"]
}
}
}


Third,you can modify Key Bindings User,set user_search_path for your project need,and modify jump_to_include_header.py sys_search_path for your global need.

Notice,you can execute "echo "#include int main(){}" > t.c; g++ -v t.c; rm t.c" to get g++ header file search path.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: