语法和语义代码完成框架 [英] syntactic and semantic code completion framework written in C++

查看:142
本文介绍了语法和语义代码完成框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题比我之前的问题更精确:一般用C / C ++编写的代码完成框架。我没有指定它足以得到我真正需要的答案。

This question is more precise than my previous one: General code completion framework written in C/C++. I did not specify it enough to get answers I really need.

我想添加到我的IDE的Intellisense代码完成。我想在C / C ++ / C ++ 11有一个库,可以作为语法和symantic代码完成工具和一般的,而不是单一语言的具体(我想写完成的Java,C ++和未来的C#,Python和Javascript)。
如果这个解决方案不是一个以语言为中心的 - 它应该是跨语言的一般和可扩展的,这将是很好的。

I want to add to my IDE the "Intellisense" code completion. I would love to have a library in C/C++/C++11, that could work as syntactic and symantic code completion tool and be general, not single language specific (I want to write completion for Java, C++ and in the future for C#, Python and Javascript). It would be good if this solution would not be one language centric - it should be general and scalable across languages.

(我发现了一个名为 CEDET ,根据其webiste是我想要的东西,但它写在Lisp,而不是C + 。)

(I have found something called CEDET, which according to its webiste is something I would like to have, but its written in Lisp, not C++.)

您能帮我找到好的解决方案吗?

Could you please help me with finding the good solution?

推荐答案

Netbeans,Eclipse和IntelliJ的源代码是开源的,支持跨平台的intelisense代码完成。 IMHO IntelliJ是最好的。我怀疑C ++不是最优雅的语言来描述这种能力。

The source for Netbeans, Eclipse and IntelliJ is open source these support cross platform "intelisense" code completion. IMHO IntelliJ's is the best. I suspect C++ is not the most elegant language to describe this capability.

这篇关于语法和语义代码完成框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆