General code completion framework written in C/C++

谁说胖子不能爱 提交于 2019-12-12 11:20:30

问题


Is there any framework written in C/C++/C++11 for writing code completion tools? Or maybe are there some libraries that allow code completion for Java or C++ (also written in C++?). I'm writing my custom IDE in C++ for Java (and not only Java) development and I want to add code completion support to it the best possible way, without reinventing the weel ;)


回答1:


clang_complete is a plugin for vim for accurately completing C, C++, Objective-C and Objective-C++ code: https://github.com/Rip-Rip/clang_complete/ It uses clang - an open source C++ compiler written in C++ for doing the job. I guess you may find it useful.



来源:https://stackoverflow.com/questions/13595747/general-code-completion-framework-written-in-c-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!