简体   繁体   English

使用Visual Studios 2012进行C ++编码时,如何自动完成在IntelliSense中选择的代码?

[英]When using Visual Studios 2012 for coding in C++, how do you autocomplete code selected in IntelliSense?

When using IntelliSense, it would usually show up functions, members, and etc. in the dialog box. 使用IntelliSense时,通常会在对话框中显示功能,成员等。 Usually at the very top of the dialog box, IntelliSense would automatically select the most relevent C++ code that fits what the user typed. 通常在对话框的最顶部,IntelliSense会自动选择最适合用户输入的C ++代码。

I want the IntelliSense to help me autocomplete the word I was typing, but whenever I press Enter key, it would just insert a new line, and not autocomplete it for me. 我希望IntelliSense帮助我自动填写我正在键入的单词,但每当我按下Enter键时,它只会插入一个新行,而不是为我自动填充它。

The only workaround for me is to press Down key, and then press Enter, in order to achieve this. 对我来说唯一的解决方法是按向下键,然后按Enter键以实现此目的。 Are there any other methods of making this process easier? 还有其他方法可以让这个过程更容易吗? It's annoying for me not being able to autocomplete C++ codes when pressing Enter key. 在按Enter键时,我无法自动完成C ++代码,这很烦人。

在C ++中,按TAB键自动完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Visual Studio 中使用代码关闭控制台 Window C++ - How to Close Console Window with code in Visual studios C++ 如何在Visual Studio扩展中获取c ++ Intellisense数据? - how do you get c++ Intellisense data in a visual Studio Extention? 如何在Windows Visual Express中运行C ++代码? - How do you run a C++ code in Windows Visual Express? 如何在Visual Studio中预览C ++代码 - How do you preview your c++ code in visual studio 如何在 Visual Studio Code 中为 C++ 启用 IntelliSense? - How to enable IntelliSense for C++ in Visual Studio Code? Visual Studio 2012 IntelliSense和浏览信息将不适用于C ++项目 - Visual Studio 2012 IntelliSense and browsing information will not be available for C++ projects Visual Studio 2012 c ++ intellisense对std的评论可能吗? - Visual Studio 2012 c++ intellisense comments for std possible? 为什么我尝试在 Visual Studios 中打开文件夹中的 c++ 文件时不显示它们? - Why do the c++ files in my folder not show when I try to open them in Visual Studios? C ++编译器无法在装有Visual Studio和代码块的cmd中工作 - C++ compiler not working in cmd with visual studios and code blocks installed 与 Visual Studios (c++) 同步时,如何组织您的 github 存储库? - How to organize your github repository when syncing with Visual Studios (c++)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM