1、快捷鍵
// 代碼格式化
option + command + L
// 清除無引用代碼
control + option + O
// 全局搜索
control + shift + F(搜索代碼)
control + shift + O(搜索文件)
// 調出Preferences面板
command + ,
// 快速打開光標處的類或方法
control + B
// 快速定位到錯誤紅線位置
fn + F2
// 快速生成代碼註釋
/* + Enter
2、生成代碼塊
3、查看當前文件有無被引用(用戶刪除廢棄類檢測)
1、選中類名
2、command + B
4、React快捷鍵
//快速創建組件代碼
直接輸入:rcc、rpc
import React, {Component} from 'react';
class App extends Component {
render() {
return (
<div>
</div>
);
}
}
export default App;
5、插件的安裝使用
6、新建JS文件,默認填充自定義內容
7、TODO的使用