最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - Is there a way to disable the mouse gesture go to definition in VSCode - Stack Overflow

programmeradmin1浏览0评论

I don't know when this was added but only today it has affected me. In VSCode (v1.96.4) when I hold ctrl and my mouse is over a Function, or Type etc it'll jump to the definition (if the definition is in the current file) and highlight the whole line and then allow me to click the Function name or Type to peek the definition as f12 does.

The problem is when I'm highlighting a line to copy and I go to press Ctrl+C it changes the highlighted line if my mouse has ended up on a type or function. It's become an absolute pain to copy and paste anything.

I have found toggling multi-cursor modifier disables this feature but I also use that feature so ideally I'd like to still be able to edit multi lines. The only setting I can see that allows me to change this command is changing the key that the multi-line selection is bound to, by default it's alt. However, I'm quite used to using alt and ideally don't want to switch it to ctrl to force vs-code to pick another key. I'd like to turn this feature off as I'm already used to using f12 anyway for this purpose but cannot find the setting anywhere. This appears to be the reference within the documents to this feature: Additionally it's also mentioned here:

发布评论

评论列表(0)

  1. 暂无评论