用过Java的IDE MyEclipse之后,才发现Visual Studio系列其实作为一个IDE还缺少很多必要的功能。特别是在代码重构和代码风格这一块。骂过好几回了,今天发现reSharper这个VS的插件居然具有几乎所有我想要的东西,当然,这个东东是收费的,不过有总比没有强。
代码重构
比起VS的refactor鸟枪换炮啊!
- Adjust Namespaces
- Change Signature
- Convert Abstract Class to Interface
- Convert Anonymous to Named Type
- Convert Extension Method to Plain Static
- Convert Indexer to Method
- Convert Interface to Abstract Class
- Convert Method to Indexer
- Convert Method to Property
- Convert Property to Auto-Property
- Convert Property to Method
- Convert Static to Extension Method
| - Copy Type
- Encapsulate Field
- Extract Class from
- Parameters
- Extract Interface
- Extract Method
- Extract Superclass
- Inline Field
- Inline Method
- Inline Variable
- Introduce Field
- Introduce Parameter
- Introduce Variable
| - Make Method/Property Non-Static
- Make Method/Property Static
- Move Type to Another File
- Move Type to Another
- Namespace
- Move Type to Outer Scope
- Move to Another Type
- Move Types Into Matching Files
- Pull Members Up
- Push Members Down
- Rename
- Replace Constructor with
- Factory Method
- Safe Delete
- Use Base Type Where Possible
|
可视化
reSharper 在滚动栏这一侧加了状态条,显然是跟MyEcplise的做法一样,这个很方便,有没有需要修改的问题,一眼就可以看明白。

增强的Navigator
这个是我一直希望VS能支持的功能,”Go to Type” ,“Go to File”, “Go to Symbol” 和 “Go to File Member” 这个几个功能非常好用,可以极大的提高你的效率。而之前你需要通过多次的鼠标点击打开文件和类浏览器去手工搜索。

写这么点算是一个介绍吧,还有其他不少的功能。不能不说这的确是我见过的最强悍的VS插件。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· 展开说说关于C#中ORM框架的用法!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?