使用Resharper时如何从字符串值中跳出

发布于 2024-12-20 21:56:52 字数 165 浏览 4 评论 0原文

我想跳出引号。当我不使用 ReSharper 时,“Tap”键有助于从双引号中跳出,但在使用 ReSharper 时它不起作用。 当然我不想使用右箭头键。

请帮忙。

reharper

I want to jump out from quotes. When I was not using ReSharper 'Tap' key helped to jump out from double quotes, but it is not working when using ReSharper.
Of course I do not want to use right arrow key.

Help please.

reharper

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情愿 2024-12-27 21:56:52

如果您希望完全跳出方法参数,请使用 Ctrl+Shift+Enter(完整语句)。
如果您的目的是退出当前字符串值以开始输入下一个参数,那么我不确定除了向右箭头或 Ctrl + 向右箭头之外的任何操作是否有效。
顺便说一句,“Tap”键是什么?

If you're looking to jump out of the method arguments altogether, use Ctrl+Shift+Enter (Complete Statement).
If your intention is to quit the current string value to start entering the next argument, then I'm not sure anything apart from the right arrow or Ctrl + right arrow will work.
What's the 'Tap' key btw?

听风念你 2024-12-27 21:56:52

作为解决方法,您还可以使用 Ctrl+W,即“展开选择”。按三下左右将选择整个字符串文字。然后您可以按转到选择的右侧。

我不确定Resharper中是否有这样的命令,但是如果你说Resharper之前的VS中有这个命令那么你可以在Options->Environment->Keyboard中找到这个命令

As a workaround you can also use Ctrl+W which is 'Expand selection'. Pressing it around three times will select the entire string literal. Then you can press to go to the right side of selection.

I'm not sure whether there is such a command in Resharper, but if you're saying that this command there was in VS before Resharper then you can find this command in Options->Environment->Keyboard

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文