Home > Article > Development Tools > How to implement vscode error code prompt
How to implement vscode error code prompt?
First open the vscode software; then create or import a code file; then press the shortcut key "ctrl shift p" and search for "Enable error underline".
Related recommendations: vscode tutorial
vscode related introduction:
Microsoft officially announced Visual at the Build Developer Conference on April 30, 2015 Studio Code project: A cross-platform source code editor for writing modern web and cloud applications running on Mac OS X, Windows and Linux.
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.
Visual Studio Code provides a wealth of shortcut keys. Users can use the shortcut keys [Ctrl] [K] [S] (hold down the Ctrl key and then press the K and S keys) to bring up the shortcut key panel and view all shortcut key definitions. You can also double-click any shortcut key in the panel to assign a new shortcut key to a certain function. Some predefined common shortcut keys include: Format document (organize all the code in the current view), [Shift] [Alt] [F]; Format selected content (organize the selected part of the code in the current view), [ Ctrl] [K] [F]; Zoom in, [Ctrl] [Shift] [=]; Zoom out, [Ctrl] [Shift] [-]; Open a new external terminal (open a new command line prompt): [Ctrl][Shift][C].
The above is the detailed content of How to implement vscode error code prompt. For more information, please follow other related articles on the PHP Chinese website!