Deadlock of some sort with invalid LWC HTML

Issue #1837 resolved
Xander Victory created an issue

IDE froze at this point. UI unresponsive, but not marked as nonresponsive by Windows.

1. Start with <a href="javascript:void(0)" onclick={fireClick}>{value}</a>
2. Highlight the href value (including last “ but not the first)
3. Hit the { key
4. Freeze

Comments (6)

  1. Scott Wells repo owner

    Hey, Xander. Is this consistently reproducible for you? Given the very specific steps you provided, I would assume it is, but it's not reproducing for me:

    Issue_1837.gif

    That's basically it, right? Any other contextual state that I may be missing? The only difference there is that I'm referencing a method and a property from this particular component vs. a pure copy/paste of what you provided.

  2. Xander Victory reporter

    It was consistent enough to happen while writing the issues yeah.

    The difference seems that yours is wrapping it, pretty sure mine nukes the highlighted text… I’m not sure if that’s a config setting somewhere?

    IntelliJ IDEA 2020.3.2 (Ultimate Edition)
    Build #IU-203.7148.57, built on January 26, 2021
    Runtime version: 11.0.9.1+11-b1145.77 amd64
    VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
    Windows 10 10.0
    GC: ParNew, ConcurrentMarkSweep
    Memory: 3987M
    Cores: 16
    Registry: documentation.show.toolbar=true
    Non-Bundled Plugins: com.github.novotnyr.jwt-intellij-plugin, ASM Bytecode Outline 2017, String Manipulation, org.jetbrains.kotlin, io.ktor.intellij.plugin, com.jetbrains.php, com.illuminatedcloud2.intellij, izhangzhihao.rainbow.brackets, PlantUML integration
    

  3. Xander Victory reporter

    Today it seems to be doing it like your gif, but freezes if I hit backspace (instead of typing). Happens also after backspacing after typing like your gif.

  4. Scott Wells repo owner

    Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.

  5. Log in to comment