Home  >  Q&A  >  body text

visual-studio-code - Visual Studio Code 如何自动补全C++代码?

注意:我所说的是语法补全,
不是单纯的记忆补全,

即:
如果我第一次打
#inc
那么应该弹出
#include 补全。
而不只是检索我打过的代码然后弹出补全

巴扎黑巴扎黑2715 days ago711

reply all(6)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 12:06:17

    According to the current vscode, it is not supported. There is no plug-in. It supports front-end language completion, which can be seen on the official website

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 12:06:17

    You can use visual assist

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 12:06:17

    Visual Studio Code is positioned as an editor. If you want to complete it, use an IDE.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 12:06:17

    Visual Studio’s auto-completion function is not very good. There should be very few people using it. Since you want to use an IDE, you should choose the one that suits you best
    http://www.csdn.net/article /2014-02-27/2818564-best-compilers-and-ides-for-c-programmers
    There is always one suitable for you, I personally recommend Code::Blocks

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 12:06:17

    This # does not yet support syntax completion lists in Visual Studio (including all Visual Studio products), only memory lists. C/C++ syntax checking is also not enabled in # statements. You can try other software such as Dev C++.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 12:06:17

    Qt Creator supports such prompts.

    Qt Creator without compilation environment is only 50~60MB in size. It has complete intelligent prompts, provides GDB and Valgrind memory analysis front-end, and supports VIM editing mode.

    reply
    0
  • Cancelreply