当前位置:网站首页>Resharper 如何把类里的类移动到其他文件
Resharper 如何把类里的类移动到其他文件
2022-08-04 14:49:00 【林德熙】
有时候,看到一个类里有很多类,需要把他移动其他文件
假如有一个类
class A
{
class B
{
}
}如何把 B 移动文件 B里?
一般使用 快捷键是 Resharper 的快捷键,如果不是的话,打开设置选择快捷键是 Resharper
然后选择 B ,按 ctrl+shift+R
移动到其他文件,第一个
这样输入文件名称就可以移动类到其他文件
这个快捷键可以把类移到其他命名空间,安全删除,提取属性做接口
如果需要Resharper多行注释,请用ctrl+shift+/
边栏推荐
- 谷歌插件.crx文件下载后被自动删除的解决方法
- Google plug-in. Download contents file is automatically deleted after solution
- Hangzhou Electric School Competition (Counter Attack Index)
- License server system does not support this version of this feature
- Lixia Action | Kyushu Yunzhang Jinnan: Open source is not a movement for a few people, popularization is the source
- Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you
- word2003按空格键为什么会出现小数点
- 用于X射线聚焦的复合折射透镜
- 1403. Minimum Subsequence in Non-Increasing Order
- 【北亚数据恢复】IBM System Storage存储lvm信息丢失数据恢复方案
猜你喜欢
随机推荐
16. Learn MySQL Regular Expressions
idea removes spark logs
Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you
7 天找个 Go 工作,Gopher 要学的条件语句,循环语句 ,第3篇
leetcode: 254. Combinations of factors
我爱七夕哈哈哈
基于 Next.js实现在线Excel
Database recovery
本周讨论用户体验:Daedalus 的 Nemo 加入 Ambire,探索加密海洋
谷歌插件.crx文件下载后被自动删除的解决方法
Technology sharing | Mini program realizes audio and video calls
技术分享| 小程序实现音视频通话
NPDP|作为产品经理,如何快速提升自身业务素养?
[The Art of Hardware Architecture] Study Notes (1) The World of Metastability
蓝牙技术|上半年全国新增 130 万台充电桩,蓝牙充电桩将成为市场主流
leetcode:259. 较小的三数之和
关于pnpm包管理器的版本问题
IP第十七天笔记
G.登山小分队(暴力&dfs)
RS|哨兵二号(.SAFE格式)转tif格式








