Resharper的使用

1.

去官网下载安装http://www.jetbrains.com/resharper/

 

2.

用于测试的注册码:

admin@youbaozang.com
SpFEMUSrPM0AGupqlNs6J1Ey7HrjpJZy

admin@wuleba.com
d6GuozPm+bsCmPOtyJ2w1ggRnCr3Vk5U

admin@soumeizi.com
Ueht3ixD05WybpbhiQ8ianU/elPjUHkz

注册码来自http://www.wuleba.com/26727.html/comment-page-1

 

3.

关闭使用var的提示,ReSharper9的设置和其他版本不一样

 

 

4.字段的命名风格,去掉以下划线开头的提示,找到对应的属性,右键选中,然后Edit,去掉前缀

 

5.确保ID的写法,不会提示错误

Can't find settings for “naming rule” in Resharper!

假如有多个特定的缩写,可以用空格来分隔它们

 

 

 

6.确保不会自动换行

本来是120,直接被我换成了1200

 

7.使用Resharper的Stack Traces窗口

Resharper-->Windows-->Stack Traces

 

8.Resharper的键盘和菜单配置

 

9.Resharper的智能提示和Visual Studio的智能提示重叠

https://resharper-support.jetbrains.com/hc/en-us/community/posts/206738755-Seeing-2-intellisense-popups

I have seen this behavior too. You have to go into the Visual Studio C#
options (Tools -> Options -> Text Editor -> C#) and disable statement completion
(uncheck "Auto list members" and "Parameter Information").

 

posted @ 2015-05-22 09:22  ChuckLu  阅读(638)  评论(0编辑  收藏  举报