VSCode: tag completion help

9 views
Skip to first unread message

Sean Fitzpatrick

unread,
May 9, 2025, 11:33:10 AM5/9/25
to PreTeXt support
On a newer computer, I am having trouble getting some of the features in VSCode to work the way I am used to. I'm wondering if someone can point me to the right settings.

Two things, both related to tag completion:

1. I used to be able to type something like: "<title>A title</ " and then tab to complete the closing tag. That doesn't seem to work any more.
(This was also useful for tracking down if I missed a closing tag: if I typed </ and tab, and got the wrong closing tag, I would know I messed up.)

2. If I began something like

<ol>
  <li>
    <p>
       Some text

it used to be the case that if I hit enter after "Some text" and then typed the closing tag, it would automatically be placed with the correct spacing. Now I have to manually un-indent the tags.

Does anyone know what setting/extension would get this back?
Reply all
Reply to author
Forward
0 new messages