Home >Development Tools >VSCode >How to preset code with vscode

How to preset code with vscode

尚
Original
2020-01-15 16:25:333607browse

How to preset code with vscode

How to preset code for vscode:

1. Select File ---> Preferences ---> User Code Snippet

How to preset code with vscode

2. Then select which type of file you need to apply this code block to.

How to preset code with vscode

3. Then you need to configure a json file. The picture below is a template

How to preset code with vscode

Recommended related article tutorials:vscode tutorial

The above is the detailed content of How to preset code with vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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