简体   繁体   中英

Can I disable Ctrl+Click in Visual Studio's C# editor?

When working in C++ in Visual Studio, Ctrl+clicking on a word in the text editor selects it. When working in C#, on the other hand, Ctrl+click also does a Go To Definition when possible.

Can I disable the Go To Definition functionality? I'd like Ctrl+click to always only ever select the word, and nothing else.

I'm using Visual Studio 2017.

Yes you can easily disable, go to Tools->Options->Text Editor->General-> Enable mouse click to perform Go to Definition.

在哪里禁用

Note yo can also change the modifier.

Under the Text Editor options, uncheck this

Enable mouse click to perform Go to Definition

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