Repository: vscode
Issue: Emmet breaks with cryptic error message in files that cannot be parsed
Labels: bug,emmet,confirmed,emmet-parse

We have written the needed data into your clipboard bec
Issue Type: <b>Bug</b>

Hi, 
Im having issues with Emmet Abbreviation not working on one of my HTML files.   When I type in a tag word like "button" or "!" it does not auto populate my brackets or the rest of the autofill tags or closing tags.  The Emmet window does not even show up, only "abc" window.  
It only started happening a few enteries ago on the same file I am having issues on (where exactly, I am not sure?)  It works perfectly fine on new files or other files.  
I am assuming I accidentally toggled a shortcut key that has somehow disabled it? 
Any help you can provide would be greatly appreciated, thanks in advance.

-Kyle


VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>skia_renderer: enabled_on<br>video_decode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|7.89GB (3.33GB free)|
|Process Argv|--crash-reporter-id 1f71a3ae-d4e8-496a-a7b4-e03e3fb40e0f|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (25)</summary>

Extension|Author (truncated)|Version
---|---|---
django-html|bib|1.3.0
EditorConfig|Edi|0.16.4
vsc-material-theme|Equ|33.2.2
vsc-material-theme-icons|equ|2.2.1
prettier-vscode|esb|9.1.0
auto-close-tag|for|0.5.13
code-python-isort|fre|0.0.3
todo-tree|Gru|0.0.215
vscode-power-mode|hoo|2.2.0
dotenv|mik|1.0.1
python|ms-|2021.12.1559732655
vscode-pylance|ms-|2022.1.3
jupyter|ms-|2021.11.1001550889
java|red|1.2.0
markdown-preview-enhanced|shd|0.6.1
code-spell-checker|str|2.1.4
vscode-djaneiro|the|1.4.2
rst-vscode|tht|3.0.1
vscodeintellicode|Vis|1.2.15
vscode-java-debug|vsc|0.37.0
vscode-java-dependency|vsc|0.18.9
vscode-java-pack|vsc|0.20.0
vscode-java-test|vsc|0.33.1
vscode-maven|vsc|0.34.2
grammarly|znc|0.14.0

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30424896
pythonvs932:30410667
vscop804:30404766
vscop341:30404997
vsclayoutctrt:30425946
vsrem710:30416614
vsbas813:30426126
vsic-wlc-tsjs:30426436

```

</details>

<!-- generated by issue reporter -->ause it was too large to send. Please paste.


Please excuse my coding, Im new and learning, just using this file as a "reference page."

--------------------------------------------------------------------------------------------------------------------

<!DOCTYPE html>
<html>
<head>
    <title>HTML 201</title>

<!--ADD A FAVICON ((link:favicon))-->
    <link 
        rel="shortcut icon" 
        href="C:\Users\Allan\Desktop\HTML Folder\Images\favicon\123_favicon.png"
        type="image/png">
        
</head>


<body>

    <h1 id="top">Welcome to HTML 201</h1>
    <a href="#bottom">GO TO BOTTOM</a>


       <p>

    <!--CSS -->
        <span style="text-decoration: underline;">
            Lorem ipsum, dolor sit amet consectetur adipisicing elit.
        </span>
         Temporibus dignissimos eos aut eius modi libero maxime cum nemo provident, similique dolorum cumque praesentium laudantium incidunt, eum laborum quidem nostrum voluptas.
         Temporibus dignissimos eos aut eius modi libero maxime cum nemo provident, similique dolorum cumque praesentium laudantium incidunt, eum laborum quidem nostrum voluptas.

    </p>


    <!--HOW TO ADD A TABLE-->
<!--tr=table row / td=table data / th= Table header-->
<!--Make table "width" a percentage%-->
<!--Do not need to have <tbody> tags-->


<table border="10" width="100%">
    <tbody>
        <tr>
            <td>A</td>
            <td>B</td>
            <td>C</td>
        </tr>

    </tbody>
</table>

<br>

<table border="1" width="100%">
        <tr>
            <td>First Cell Here</td>
            <td>Second Cell Here</td>
        </tr>
        <tr>
            <td>First Row Here</td>
            <td>Second Row Here</td>
</table>

<br>

<table border="5" width="100%"
    <tbody>
        <tr>
            <td colspan="3">1</td>
          <!-- <td>2</td>
            <td>3</td> -->
        </tr>
        <tr>
            <td rowspan="2">2</td>
            <td colspan="2">3</td>
            
        </tr>
        <tr>
            <td colspan="2">4</td>
        </tr>
    </table>
    
<br>


<table border="1" width="100%">
        <tr>
            <th colspan="2">Welcome to HTML 201</th>
        </tr>
        <tr>
            <td width="20%">
                <h3>Navigation</h3>
            </td>
            <td width="20%">
                <h3>Content</h3>
            </td>
        
        
        
        </tr>

</table>

<br>

        <!--[padding: 40px]= CSS Decloration-->
        <!--You can have multiple class names but only one ID-->

<div style="padding: 40px; color: white; background-color: black;">
    Lorem ipsum dolor sit, amet consectetur adipisicing elit. Error nobis praesentium inventore vero quam! Quos maiores laudantium veniam suscipit amet vel corporis! Sed asperiores odit facilis doloribus, sunt repellendus quo?
</div>
<hr>
<hr>
<hr>

<br>

<hr>

    <style> 
        .classNameHere {
        padding: 40px; 
        color: white; 
        background-color: black;
        }
        .uppercase{
            text-transform: uppercase;
        }
        #testingId {
            border:15px solid red
        }
    </style>

<div class="classNameHere">
</div>
<div id="testingId">
    Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat non odit id, perferendis, incidunt reprehenderit eos beatae repellendus assumenda pariatur dicta nostrum aut est vero nesciunt soluta consequuntur. Modi, suscipit.

</div>

<div class="uppercase">
    Lorem ipsum dolor sit amet consectetur, adipisicing elit. Tempore incidunt error laudantium provident fuga molestias quaerat et mollitia suscipit exercitationem laboriosam quos magnam placeat, harum aspernatur expedita, debitis corporis blanditiis?

</div>

<div class="classNameHere">
    Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ea consectetur nesciunt nulla neque, ipsum, qui aut assumenda impedit officiis deleniti velit! Incidunt, qui. Cupiditate, corrupti rerum alias animi suscipit maxime.

</div>



<!--pathing <a href="../../../index.html> [Go up in folders]-->


    <img src="C:\Users\Allan\Desktop\HTML Folder\Images\reed-geiger-Cxu9Se34VM0-unsplash.jpg" height="800" alt="Should be a cactus...">


    <h3> Format code</h3>

    <pre>
                Some stuff here       &lt;b&gt;<b>This is bold</b>&lt;/b&gt;
            Second line Here
    </pre>


    <p> <code> Lorem ipsum dolor sit amet consectetur adipisicing elit.</code> Commodi delectus nulla animi laboriosam aperiam earum natus illum minima veritatis, nisi est atque impedit inventore amet tempora, aliquid accusamus nesciunt in!
    </p>
    
    <pre>


    </pre>


    <h3>Forms</h3>

    
<!--        Forms should always be wrapped in a form element
            <form method="GET" action="somepage.html">
            <input type="text">
            <textarea name="" id="" cols="30" rows="10"></textarea>
            <button type="submit">Submit this form</button>
            </form>
-->
    <div>
        <form action="">
            <input type="text" value="Hello World" 
            placeholder="Enter your name">
    </div>
    <div>
            <input type="password" value="password"
            placeholder="Enter Your password"
               
        </form>
</div>



<!--Htting "Submit Button, will display the password in the URL-->

        <form action="" method="GET">
<div>
            <input name="passowrd" type="button" value="Enter Name"
            placeholder="Enter your name">
</div>

<div>
        <input required name="passowrd" type="password" value=""
        placeholder="Enter your password">
</div>

<div>
        <input required address="email" type="email" value=""
        placeholder="Enter your email address">
</div>

<div>       
            <textarea cols="50" rows="5" placeholder="Wow a place holderrrrr">Text in here
    White Space Matters here.    
            </textarea>
</div>
    
<div>
        <button type="button">Button</button>
        <button type="reset">Reset</button>
        <button type="submit">Submit</button>
</div>


    <!--Drop Down Menu-->

<div>
    <select name="selected_option">
        <option value="value1">This is Value 1</option>
        <option value="value2">This is Value 2</option>
        <option value="default-is-selected" selected="selectedt">Selected by default</option>
        <option value="" disabled="disabled">This is disabled</option>
    </select>
</div>



        </form>

<div id="bottom">
        <a href="#top">BACK TO TOP</a>


      
       <sup>&copy;</sup>2022 
       &copy 2022
       <sub>&copy;</sub>2022
    
</div>

</body>
</html>