简体   繁体   English

Visual Studio 2019 观察 Window:IntelliSense 完成

[英]Visual Studio 2019 Watch Window: IntelliSense Completion

The expected behavior when pressing enter on an IntelliSense suggestion in the Watch Window would be that the selected item is filled in and that I can continue typing .在 Watch Window 中的 IntelliSense 建议上按 enter 时的预期行为是所选项目已填写,我可以继续输入

Instead, the selection is filled in and then immediately executed so that I have to re-select the entry field each time.相反,选择被填写然后立即执行,所以我每次都必须重新选择输入字段。

This is obviously just a minor nuisance, but it would be great if someone knew how to change this behavior (or at least provide a shortcut that only enters the suggestion without immediately executing).这显然只是一个小麻烦,但如果有人知道如何改变这种行为(或者至少提供一个只输入建议而不立即执行的快捷方式),那就太好了。

I agreed with Camilo and thanks for his help.我同意 Camilo 的观点并感谢他的帮助。 To help improve this issue and help other community members handle and search similar issues, I have added an answer here:为了帮助改善这个问题,帮助其他社区成员处理和搜索类似的问题,我在这里添加了一个答案:

Answer回答

Actually , how to invoke Intellisense on Watch Window is quite different from the Code Editor.实际上,在Watch Window上如何调用Intellisense与代码编辑器有很大的不同。 And Enter key under watch window is for executing the detection of the input content.而watch window下的Enter键是执行输入内容的检测。 Every time you click the enter key on the watch window, it will monitor the values that have been entered.每次点击window手表上的回车键,它都会监测已经输入的数值。

Suggestion建议

So if you want to continue the pop-up suggestions for certain content on the Watch Window , you should use Tab key.所以如果你想在Watch Window上继续弹出某些内容的建议,你应该使用Tab键。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM