简体   繁体   English

如何使用 Visual Assist“转到定义”功能?

[英]How to “Go to definition” of a function using Visual Assist?

I am using Visual Assist for last couple of months.最近几个月我一直在使用 Visual Assist。 Alt + G is very useful and fast in finding definition of anything under cursor . Alt + G在查找光标下任何内容的定义时非常有用且快速。

But I am not able to figure out how to Go to definition by manually putting the function-name or class-name as text input (as we do while searching using Ctrl + Shift + F or Ctrl + , ).但是我无法通过手动将函数名或类名作为文本输入来弄清楚如何转到定义(就像我们在使用Ctrl + Shift + FCtrl + ,搜索时所做的那样)。

What I am doing right now is using Ctrl + Shift + F and trying to look for definition from the long list of string search result .我现在正在做的是使用Ctrl + Shift + F并尝试从字符串搜索结果长列表中查找定义 :( :(

I hope my requirement is clear.我希望我的要求很明确。

Thanks to the Whole Tomato Software support team, I got the answer upon raising a ticket .感谢Whole Tomato Software支持团队,我在提出票证时得到了答案。

Keyboard shortcut to " Go To Definition " with text input is:带有文本输入的“转到定义”的键盘快捷键是:

Alt + Shift + S Alt + Shift + S

It is very fast and accurate.它非常快速和准确。

To get an exact or strict match, use .symbolname.要获得精确匹配或严格匹配,请使用.symbolname. as text-input in Find Symbol prompt.作为查找符号提示中的文本输入。

I think you may have been looking for the shortcut VAssistX.GotoImplementation instead.我认为您可能一直在寻找快捷方式VAssistX.GotoImplementation Edit it to a hotkey of your liking in Options -> Environment -> Keyboard -> Search for it and 'Assign' a hotkey after you press it.在“选项”->“环境”->“键盘”->“搜索”中将其编辑为您喜欢的热键,并在按下后“分配”一个热键。 This is what I was looking for.这就是我一直在寻找的。 At any rate I am adding this here in case the internet searchers (/googlers) stumble upon it.无论如何,我在这里添加这个,以防互联网搜索者 (/googlers) 偶然发现它。

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

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