R
R
rinaz222020-12-27 09:12:18
Visual Studio Code
rinaz22, 2020-12-27 09:12:18

How to change emmet autocomplete code in vs code?

Hello. When I start writing html code, I write ! and press enter. The following code is inserted:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

Is it possible to slightly change this code? For example, change lang="en" to ru, add some meta tags, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rosumere, 2021-06-14
@rosumere

I myself was looking for an answer to this question, and the answer is yes, you can. Specifically for language selection:

"emmet.variables": {
    "lang": "ru",
  }

Well, in general, documentation on emmet in vs code is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question