Front-end basic learning-vscode configuration code snippet

When I was doing the front-end before, I configured code snippets, which can be typed out directly. In fact, any language can be used.

1. Call out the preferences console configuration

win: Ctrl + Shift + P
mac: command + Shift + P

Then enter Snippets
select configure user code snippet
insert image description here

2. Select the corresponding language to generate a .json file

insert image description here

3. Convert the required templates

Click on the link snippet to convert

insert image description here
A template that can be converted into bytes, I randomly copied a bit of python content here.

4. Paste into the corresponding .json file

insert image description here
Pay attention to adding your own trigger method, here I choose to enter 'python' trigger

5. Trigger the corresponding effect

insert image description here
insert image description here
trigger complete

Guess you like

Origin blog.csdn.net/m0_47146037/article/details/129305809