VS code key shortcuts for windows

mac上的快捷键,尽量是选择像我用vs studio上靠近。

ctrl+K+S: 显示快捷键列

ctrl+shift+p: 系统配置命令行

ctrl+p:项目中文件列表,选择文件

Alt+M:当前文件的函数列表 (Go to symbol in File)

Alt+shift+O:显示所有符号(Go to all symbols)

cmd+shift+e:项目结构浏览图

Alt+G:目录中搜索

Ctrl+f:文件中搜索

Alt+1: goto definition

ctrl+1: go to references

alt+F1 (go back):浏览后退到前一视图 (cmd+,)

alt+F2 (go forward):浏览前进到后一视图(cmd+.)

Ctrl+]:切换光标至匹配的括号处

option+shift+F:格式化文档代码

cmd+shift+L(ctrl+F1):编辑所选的所有同样的字符串

fn+F2:编辑所选的所有同样的符号对象

cmd+K+L:折叠所有

cmd+K+J:展开所有

Toggle Fold: ctrl+[

Go to Matching pair: ctrl+‘

恢复默认快捷键:

cmd+shift+p:调出系统命令行,选择 preferences open keyboard shortcuts, 把文件里自定义的键都删除掉

配色,拷贝不带格式,cshtml与html同样解析格式:

{
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#7700ff",
"editor.wordHighlightBackground": "#0044ff",
"editorCursor.foreground": "#ff0"
},
"sync.autoUpload": true,
"sync.gist": "shoufu",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"editor.copyWithSyntaxHighlighting": false,
"window.zoomLevel": 0,
"emmet.includeLanguages": {
"razor": "html"
},
"files.associations": {
"*.cshtml": "html"
}
}

原文地址:https://www.cnblogs.com/dusf/p/11684058.html

时间: 2024-11-07 17:55:07

VS code key shortcuts for windows的相关文章

Eclipse Key Shortcuts for Greater Developers Productivity--reference

Posted by Ajitesh Kumar / In Java / June 6, 2014 http://vitalflux.com/eclipse-key-shortcuts-greater-developers-productivity/ The article presents Eclipse Key Shortcuts (for Windows) which could be used to perform most common coding tasks in a much ef

Character code and keyboards under windows

Character code and keyboards under windows Character set Basically, windows uses the ANSI character set and not the 8-bits ASCII char set. The ANSI char set contains 255 chars. To enter a char, the user hit a key or a combination of keys (shift, ctrl

How to do code coverage test for windows service

First, instrument the exe or dll by command vsinstr -coverage the dll/exe second, start the performance monitor VSPerfCmd.exe /start:coverage /output:"D:\Latest.Coverage" /cs /user:"Everyone" at this time, we could check the status by

Remove "Shortcut" Text From New Shortcuts in Windows 7 or Vista

Keywords: shortcut, registry, windows A source of annoyance for many Windows users is the ” – Shortcut” text that is added to the name of newly created shortcuts, and every time you have to manually edit the shortcut and remove that text. Wouldn’t it

Git安装及SSH Key管理之Windows篇

一.安装环境 1.本机系统:Windows 10 Pro(64位)2.Git版本:Git-2.11.0-64-bit.exe(64位) 二.Git安装 去官网下载完后一路下一步完成安装,如下图: 安装完后先在系统环境变量中看下是否配置 然后在桌面右击鼠标,选择Git bash here,然后输入下面代码: git --version #验证git是否安装成功,输出版本号就代表安装成功 如下图: 安装完成有配置一下全局的用户名和邮箱,输入如下命令: git config --global user

Visual Studio Code 快捷键大全(Windows)

Visual Studio Code 是一款优秀的编辑器,非常适合编写 TS 以及Vue, React . 通用 Ctrl+Shift+P, F1 打开命令面板 Ctrl+P 快速打开文件 Ctrl+Shift+N 打开新窗口/实例 Ctrl+Shift+W 关闭窗口/实例 基础编辑 Ctrl+X 剪切当前行 Ctrl+C 复制当前行 Alt+ ↑ / ↓ 向上/向下移动当前行 Shift+Alt + ↓ / ↑ 向上/向下复制当前行 Ctrl+Shift+K 删除当前行 Ctrl+Enter

体验Code::Blocks下的Windows GUI编程(32 bit and 64 bit)

0. 前言 不知道为什么,几乎所有的C++编程教程都是从命令行版(控制台应用程序)的Hello World开始的.然而,对于现在的年轻人来说,从小就用鼠标点击窗口或图标操作电脑,对于那个神秘黑色的窗口中的文字就像天书.对于我们这些从DOS时代走来的人,或许那个黑色窗口会唤起很多记忆,但是,对于当前的GUI化的时代来说,那个窗口已经没有多少意义了.除非为了显示我的知识渊博和高深莫测,通常我不会给年轻人讲述那个黑色窗口中的东西. 既然现在学习C++编程的都是年轻人,我还是讲一下怎样构建GUI版的He

How to generate an SSH key pair in Windows using PuTTY?

You can generate an SSH key on Windows using the PuTTY SSH client. You can download PuTTY for free from this URL. To generate a key with PuTTY, you should: Download and start the puttygen.exe generator. In the "Parameters" section choose SSH2 DS

shortcuts on Windows and MacOS

我现在使用Window 10与MacOS,发现各千秋,也发现Window向MacOS学习并借鉴了一些东西. MacOS有一点非常好的地方是,它可以不怎么使用鼠标,而通过TouchPad便可完成.体验起来感觉比Windows操作系统要优秀一些.   操作系统 MacOS Widows 10 切换虚拟桌面  三个手指向左或向右滑过 CTLR+WINDOWS+LEFT/RIGHT TODO 显示/关闭所有虚拟桌面列表 三个手指迅速上滑/下滑 或点击F3 (Mission button)  TaskVi