Resharper 4.1 是否支持 Camel Humps 和正常选择模式?
我在 resharper 中找到了 Camel Humps 的设置:
Resharper -> 选项-> 编辑-> 使用 CamelHumps
问题是我仍然希望能够使用正常选择模式(即 CTRL+Arrow 和 CTRL+SHIFT+Arrow 的默认行为)以及 CamelHumps 模式。
例如,考虑这个变量:
private int MyVeryLongCamelCaseName;
现在,如果我想复制整个变量,那么我想要 CTRL+SHIFT+左箭头 的 VS 默认行为,即如果光标位于 M 上,则选择整个变量。
但是,如果我想将名称更改为 MyExtremelyLongCamelCaseName那么我想要 Resharper 提供的 CamelHumps 行为。
有什么办法可以通过不同的快捷方式实现这两种行为吗?
I've found the setting for Camel Humps in resharper:
Resharper -> Options -> Editor -> Use CamelHumps
The problem is that I would still like to be able to use the normal selection mode (i.e. the default behaviour for CTRL+Arrow and CTRL+SHIFT+Arrow) as well as the CamelHumps mode.
For example consider this variable:
private int MyVeryLongCamelCaseName;
Now if I want to copy the entire variable then I want the VS default behaviour for CTRL+SHIFT+Left-Arrow which is to select the entire variable if the cursor is on the M.
However if I want to change the name to say MyExtremelyLongCamelCaseName then I would like the CamelHumps behaviour provided by Resharper.
Is there any way to have both behaviours with different shortcuts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为 ctrl+W shotkey 会有帮助。
I think ctrl+W shotkey will help.
我认为没有这个选项,但作为解决方法,您可以使用“扩展选择”快捷键,即 CTRL+ALT+Right。 不理想,但比对于具有大量驼峰的符号多次按 CTRL+SHIFT+Right 更快。
I don't think there is an option for this but as a work around you can use the Extend Selection shortcut which is CTRL+ALT+Right. Not ideal but faster than hitting CTRL+SHIFT+Right multiple times for a symbol that has a lot of camel humps.