atom有什么好用的C++扩展
PHPz
PHPz 2017-04-17 14:28:29
0
4
573

还有比如有没有代码跳转的扩展?右键点击一个函数或者一个类e跳转到声明地点?

ps:都在说没有相关插件,可是为什么atom右键里面有“跳转至声明点”这个选项,我也不清楚我是装了哪个插件才有的。不过我点了这个按钮之后没任何反应

PHPz
PHPz

学习是最好的投资!

reply all(4)
PHPzhong

Thank you for the invitation.
I really don’t know this because I don’t use an atom editor.
Let’s talk about what I commonly use.

Visual Studio CodeEditor + clang plugin. You can read this article http://www.codepool.biz/vscode-format-c-code-windows-linux.html

vim, you can read this article http://www.cnblogs.com/oloroso/p/5775421.html
and it is very easy to use with the nerdtree plug-in.

大家讲道理

At the request of the questioner, the answer is rewritten as:

The questioner is a little embarrassed about atom. It is not an IDE, but a code editor, used for code highlighting and automatic completion.
This kind of function/class analysis capability is within the scope of IDE, because It requires the ability to parse code semantics like a compiler

autocomplete-clangYou can pull information from the header file to achieve automatic completion of library functions, but you cannot achieve the jump mentioned by the question

In fact, atom is the entire browser, so the support for javascript is quite good, but the support for C++ is relatively insufficient. There is basically no feasible solution at present

左手右手慢动作

For C++, use VS for Win and clion for Mac. They all have vim plug-ins, so why torture yourself. . .

巴扎黑

It seems that there is no such jump as you mentioned. The more popular ones are these two:

  • autocomplete-clang

  • linter-clang

Atom’s support for C++ is really average. If you basically only do C++ development, you can really consider an IDE specially designed for C++

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template