update:VS Code快捷键
This commit is contained in:
		
							parent
							
								
									d2e74b882a
								
							
						
					
					
						commit
						df4612ee46
					
				@ -128,9 +128,9 @@ VS Code自带的对比功能并不够强大,我们可以安装插件`compareit
 | 
			
		||||
|:-------------|:-------------|:-----|:-----|
 | 
			
		||||
| Cmd + / |  Ctrl + /  | 添加单行注释 | 很常用 |
 | 
			
		||||
| **Option + Shift + F** | Alt + shift + F | 代码格式化 | 很常用 |
 | 
			
		||||
| Ctrl + J |   | 合并代码行 | Win 用户可以在命令面板索索”合并行“ |
 | 
			
		||||
| Ctrl + J |   | 将多行代码合并为一行 | Win 用户可在命令面板搜索”合并行“ |
 | 
			
		||||
| Cmd +  |   |  |  |
 | 
			
		||||
| Cmd + U  | Ctrl + U | 撤销光标的移动和选择。将光标的移动回退到上一个位置 |  |
 | 
			
		||||
| Cmd + U  | Ctrl + U | 将光标的移动回退到上一个位置 | 撤销光标的移动和选择 |
 | 
			
		||||
|  |   |  |  |
 | 
			
		||||
|  |   |  |  |
 | 
			
		||||
 | 
			
		||||
@ -166,7 +166,7 @@ VS Code自带的对比功能并不够强大,我们可以安装插件`compareit
 | 
			
		||||
 | 
			
		||||
比如我已经在`a.js`文件里调用了 `foo()`函数。那么,如果我想知道`foo()`函数在其他文件中是否也被调用了,该怎么做呢?
 | 
			
		||||
 | 
			
		||||
做法如下:在 `a.js` 文件里,选中`foo()`函数(或者将光标放置在`foo()`函数上),然后按住快捷键「Shift + F12」,就能看到 `foo()`函数在哪些地方被调用了,非常实用。
 | 
			
		||||
做法如下:在 `a.js` 文件里,选中`foo()`函数(或者将光标放置在`foo()`函数上),然后按住快捷键「Shift + F12」,就能看到 `foo()`函数在哪些地方被调用了,比较实用。
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### 鼠标操作
 | 
			
		||||
 | 
			
		||||
@ -180,8 +180,6 @@ git cherry-pick commit1
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
上面的Git客户端我基本都用过了,我最推荐的一款Git客户端是:[Tower](https://www.git-tower.com) 或者 [Fork](https://git-fork.com)。
 | 
			
		||||
 | 
			
		||||
**SmartGit**:
 | 
			
		||||
 | 
			
		||||
商业用途收费, 个人用户免费:
 | 
			
		||||
@ -189,6 +187,10 @@ s
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
上面的Git客户端我基本都用过了,我最推荐的一款Git客户端是:[Tower](https://www.git-tower.com) 或者 [Fork](https://git-fork.com)。
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 推荐书籍
 | 
			
		||||
 | 
			
		||||
- 《pro.git中文版》
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user