Visual Studio Code 使用指南大全
2016-11-17 16:19
381 查看
VS code常用快捷键:
移动当前行代码:Alt + down / alt + up
隐藏菜单栏:View > Toggle Menu Bar, 显示菜单栏: Alt
分割编辑区:Ctrl+\
切换编辑区:ctrl + 1, 2, 3
水平分割编辑区或垂直分割编辑区:Shift + alt + 1
缩进代码:ctrl + [, ctrl + ]
注释和取消注释: ctrl + /
全局搜索:ctrl + shift + f
向后导航,Alt+Left
向前导航,Alt+right
让文件保持打开: ctrl + k, enter
复制当前行: 不选中情况下,ctrl + c,
剪切当前行: 不选中情况下,ctrl + x
隐藏显示左侧边栏: ctrl + b
常用插件:
code runner: 让代码运行
hacker haze theme: 黑客主题
lua -for -vscode: lua自动补全提示
vscode-icons: icons for visual studio code
key-bindings:(File->preference->key shortcut settting)
[
{ "key": "ctrl+d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
{ "key": "ctrl+shift+k", "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" },
{ "key": "ctrl+shift+/", "command": "editor.action.blockComment", "when": "editorTextFocus" } ,
// 定制与 sublime 相同的大小写转换快捷键,需安装 TextTransform 插件
{
"key": "ctrl+k ctrl+u",
"command": "uppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+l",
"command": "lowercase",
"when": "editorTextFocus"
}
]
其他配置:
ctrl + shift + p -> configure language -> 打开locale.json进行配置display language
2017/5/10修改
移动当前行代码:Alt + down / alt + up
隐藏菜单栏:View > Toggle Menu Bar, 显示菜单栏: Alt
分割编辑区:Ctrl+\
切换编辑区:ctrl + 1, 2, 3
水平分割编辑区或垂直分割编辑区:Shift + alt + 1
缩进代码:ctrl + [, ctrl + ]
注释和取消注释: ctrl + /
全局搜索:ctrl + shift + f
向后导航,Alt+Left
向前导航,Alt+right
让文件保持打开: ctrl + k, enter
复制当前行: 不选中情况下,ctrl + c,
剪切当前行: 不选中情况下,ctrl + x
隐藏显示左侧边栏: ctrl + b
常用插件:
code runner: 让代码运行
hacker haze theme: 黑客主题
lua -for -vscode: lua自动补全提示
vscode-icons: icons for visual studio code
key-bindings:(File->preference->key shortcut settting)
[
{ "key": "ctrl+d", "command": "editor.action.deleteLines", "when": "editorTextFocus" },
{ "key": "ctrl+shift+k", "command": "editor.action.addSelectionToNextFindMatch", "when": "editorFocus" },
{ "key": "ctrl+shift+/", "command": "editor.action.blockComment", "when": "editorTextFocus" } ,
// 定制与 sublime 相同的大小写转换快捷键,需安装 TextTransform 插件
{
"key": "ctrl+k ctrl+u",
"command": "uppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+l",
"command": "lowercase",
"when": "editorTextFocus"
}
]
其他配置:
ctrl + shift + p -> configure language -> 打开locale.json进行配置display language
2017/5/10修改
相关文章推荐
- 如何在Mac OS X上安装和使用Visual Studio Code和ASP.NET 5
- Linux 下使用Visual Studio Code
- Visual Studio Code使用typings拓展自动补全功能
- 使用Visual Studio Code开发Asp.Net Core WebApi学习笔记(一)-- 起步
- Mac上使用Visual Studio Code开发/调试.NET Core代码
- visual studio code使用------ 代码提示
- Visual Studio Code使用typings拓展自动补全功能
- dotnetCore系列:使用Visual Studio code 创建DotNet Core 1.0应用并调试(1)
- ASP.NET Core 中文文档 第二章 指南(1)用 Visual Studio Code 在 macOS 上创建首个 ASP.NET Core 应用程序
- 使用Visual Studio Code开发Asp.Net Core WebApi学习笔记(二)-- Web Api Demo
- Rust初步(二):使用Visual Studio Code编写Rust程序(猜猜看游戏)
- Windows下使用Visual Studio Code搭建Go语言环境
- Visual Studio Code 配置指南
- 在Mac上使用Visual Studio Code开发/调试.NET Core代码
- Microsoft Visual Studio 2005中使用水晶报表(CODE)
- 如何在Mac OS X上安装和使用Visual Studio Code和ASP.NET 5(转)
- visual studio CodeSnippet的使用
- Visual Studio Code 使用 Typings 实现智能提示功能
- 使用Visual Studio Code打开浏览器查看HTML文件
- Visual Studio Code 使用 ESLint 增强代码风格检查