当前位置:网站首页>Resharper 如何把类里的类移动到其他文件
Resharper 如何把类里的类移动到其他文件
2022-08-04 14:49:00 【林德熙】
有时候,看到一个类里有很多类,需要把他移动其他文件
假如有一个类
class A
{
class B
{
}
}
如何把 B 移动文件 B里?
一般使用 快捷键是 Resharper 的快捷键,如果不是的话,打开设置选择快捷键是 Resharper
然后选择 B ,按 ctrl+shift+R
移动到其他文件,第一个
这样输入文件名称就可以移动类到其他文件
这个快捷键可以把类移到其他命名空间,安全删除,提取属性做接口
如果需要Resharper多行注释,请用ctrl+shift+/
边栏推荐
- 没有Project Facets的解决方法
- word2003按空格键为什么会出现小数点
- C# SolidWorks二次开发---工程图简单版标注孔信息
- SQL语句的写法:Update、Case、 Select 一起的用法
- LeetCode_模拟_中等_498.对角线遍历
- License server system does not support this version of this feature
- [The Art of Hardware Architecture] Study Notes (1) The World of Metastability
- Google plug-in. Download contents file is automatically deleted after solution
- leetcode: 259. Smaller sum of three numbers
- 基本介绍PLSQL
猜你喜欢
【硬件架构的艺术】学习笔记(1)亚稳态的世界
用于X射线聚焦的复合折射透镜
[The Art of Hardware Architecture] Study Notes (1) The World of Metastability
Cisco-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
基于数据库实现分布式锁
Almost all known protein structures in the world are open sourced by DeepMind
数据链路层-------以太网协议
token 过期后,如何自动续期?
CCF GLCC officially opened | Kyushu Cloud open source experts bring generous bonuses to help universities promote open source
Technology sharing | Description of the electronic fence function in the integrated dispatching system
随机推荐
FRED应用:毛细管电泳系统
eNSP-小型网络拓扑(DNS、DHCP、网站服务器、无线路由器)
代码随想录笔记_动态规划_1049最后一块石头的重量II
CloudCompare&PCL 点云按网格划分(点云分幅)
16. Learn MySQL Regular Expressions
using关键字学习
蓝牙技术|上半年全国新增 130 万台充电桩,蓝牙充电桩将成为市场主流
Basic Introduction for PLSQL
郑轻新生校赛和中工选拔赛题解
[Opportunity Enlightenment-60]: "Soldiers, Stupid Ways"-1- Opening: "Death" and "Life" are the way of heaven
关于pnpm包管理器的版本问题
SQL语句的写法:Update、Case、 Select 一起的用法
word2003按空格键为什么会出现小数点
token 过期后,如何自动续期?
Android Sqlite3 basic commands
Find My Technology | Prevent your pet from getting lost, Apple Find My technology can help you
1403. 非递增顺序的最小子序列
Hangzhou Electric School Competition (Counter Attack Index)
IP第十七天笔记
vim 常用操作命令