简体   繁体   中英

Visual studio 2022 how to auto complete only on tab?

Right now, visual studio 2022 will auto complete on a whole bunch of characters that I use in normal coding, such as ( and space.If i for example intend to create the method Generate later but add a call to it in my code, typing Generate( it will be replaced with GenerateDocumentationPage() which is completely irrelevant. So then I have to revert and type my function call again. How can I fix this so that it only complete on tab?

I was hoping to find some setting for this under IntelliCode but it seems like there is no configuration for auto replacement there. How can this be solved?

I think I have found the answer in next link:

https://docs.microsoft.com/en-us/answers/questions/760368/disabling-autocompletion-from-spacebar-in-vs-2022.html

ANSWER: Edit -> IntelliSense -> Switch Between automatic and tab-only IntelliSense completion or Shortcut CTRL+ALT+SPACE

Best Regards, Genís

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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