Recent Notes

Keyboard Shortcuts

Sublime:

⌘(command)+]/[ 智能行缩进
⌘(command)+D 选词(反复按快捷键,即可继续向下同时选中下一个相同的文本进行同时编辑)
⌘(command)+P 搜索项目中的文件
⌘(command)+ CTRL + p 打开项目列表面板
⌘(command)+X 删除当前行
⌘(command) +数字 窗口切换
⌘(command) +R 前往 method的函数
⌘(command) +N 新建窗口
Ctrl + Tab 或 Ctrl + PgDn 跳转到下一个打开的标签页
Ctrl + Shift + Tab 或 Ctrl + PgUp 跳转到上一个打开的标签页

Android Studio:

Find Class: (Mac) CMD+O, (Windows) CTRL+N ==> eclipse:CTRL + Shift + R
Find File: (Mac) CMD+SHFT+O, (Windows) CTRL+SHFT+N

Refactor/Rename: SHFT+F6
Quick Fix (including string resource refactor): ALT+ENTER

Run: (Mac) CTRL+R, (Windows) SHFT+F10
Debug: (Mac) CTRL+D, (Windows) SHFT+F9

show doc:CTRL+J
show doc window:CTRL+Space

An equivalent shortcut in IntelliJ IDEA to show outlines the current source.
eclipse:CTRL+O, AS:command+F12

React Native:

1
2
3
4
5
6
7
8
$ npm update -g npm  //npm升级
$ sudo npm uninstall npm -g //npm卸载
$ npm i react-native-cache-store //install简写
$ n ls //列出node各版本
$ react-native log-ios //display the console logs for an iOS or Android app
$ react-native log-android
$ adb logcat *:S ReactNative:V ReactNativeJS:V //ReactNative show android log
$ react-native start //start a node server