Home > Article > Development Tools > What is the shortcut key for vscode comments?
Shortcut keys for vscode comments: "Ctrl /" and "Alt Shift A". Methods for commenting in vscode: 1. For single-line comments, use "Ctrl /", or press "CTRL K" first and then "CTRL U"; 2. For block comments, use "Alt Shift A".
Related recommendations: "vscode Basic Tutorial"
vscode comments What are the shortcut keys?
1. Single line comment:
Ctrl + / 或 先按CTRL+K,再按CTRL+U
Cancel single line comment:
Ctrl + / 或 先按CTRL+U,再按CTRL+K
2. Block comment
Alt + Shift + A
vscode Introduction
vscode (full name visual studio code) is a cross-platform source code editor software that runs on Mac OS X, Windows and Linux and is designed for writing modern web and cloud applications.
The editor also integrates all the features that a modern editor should have, including syntax high lighting, customizable keyboard bindings, bracket matching ( bracket matching) and code snippet collection (snippets). Somasegar also told me that the editor also has out-of-the-box support for Git.
The editor supports writing in multiple languages and file formats. As of September 2019, it has supported the following 37 languages or files: F#, HandleBars, Markdown, Python, Jade, PHP, Haxe, Ruby , Sass, Rust, PowerShell, Groovy, R, Makefile, HTML, JSON, TypeScript, Batch, Visual Basic, Swift, Less, SQL, XML, Lua, Go, C, Ini, Razor, Clojure, C#, Objective-C, CSS, JavaScript, Perl, Coffee Script, Java, Dockerfile.
For more programming-related knowledge, please visit: Programming Teaching! !
The above is the detailed content of What is the shortcut key for vscode comments?. For more information, please follow other related articles on the PHP Chinese website!