I would like you to teach me how to add automatic complementary functions in vscode.

Asked 2 years ago, Updated 2 years ago, 98 views

As the title suggests.

I recently changed from ATOM to VScode, but I don't know how to do auto-complementation.

If it's ATOM, for example, typing a TAB key after typing div will look like <div></div>, but I don't know how to do it in VScode, so please let me know.

I'm using a MAC.

Thank you for your cooperation.

vscode

2022-09-30 18:13

1 Answers

VS Code implements auto-complementation with extensions for many programming languages, and depending on which language mode you are using, the method of auto-complementation and the extensions you need will vary.Also supported by default in some languages.

Official documentation exists for HTML in the questionnaire:

As stated here, the default setting is </ to complement the closing tag.You can also press Ctrl+Space to manually invoke the complement.


2022-09-30 18:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.