简体   繁体   English

Visual Studio 2019 智能感知替换

[英]Visual Studio 2019 Intellisense replace

I can't understand why intellisense does't want to replace line after dot with suggestion.我不明白为什么智能感知不想用建议替换点之后的行。

在此处输入图片说明

I pressed Ctrl + Space , selected suggestion and I expected the eoID to be replaced by fuID .我按下Ctrl + Space ,选择了建议,我希望eoIDfuID替换。 But I got item.fuIDeoID = updItem.eoID;但是我得到了item.fuIDeoID = updItem.eoID; . . To complete suggestion I tried to press Enter then Tab and result was same.为了完成建议,我尝试按Enter然后按Tab并且结果相同。 Can someone explain how to get item.fuID = updItem.eoID;有人可以解释如何获取item.fuID = updItem.eoID; after complete selecting suggestion?完成选择建议后?

You need to highlight the part you want replaced.您需要突出显示要更换的零件。 Currently your cursor is in insert mode (so to speak).目前您的光标处于插入模式(可以这么说)。 You need to highlight the part you want replaced, bring up intellisense, and select the replacement value.您需要突出显示要替换的部分,调出智能感知,然后选择替换值。

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

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