Home > Development Tools > VSCode > What is the shortcut key for vscode comments?

What is the shortcut key for vscode comments?

青灯夜游
Release: 2020-09-28 17:06:10
Original
84062 people have browsed it

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".

What is the shortcut key for vscode comments?

Related recommendations: "vscode Basic Tutorial"

vscode comments What are the shortcut keys?

1. Single line comment:

Ctrl + /
或 先按CTRL+K,再按CTRL+U
Copy after login

Cancel single line comment:

Ctrl + /
或 先按CTRL+U,再按CTRL+K
Copy after login

2. Block comment

Alt + Shift + A
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template