Search code examples
javascriptpolymer

Polymer 3 ide - template editting


What are people using for editting templates in Polymer 3? I've tried both intelliJ and vscode (along with their respective plugins) and in both cases I get no syntax highlighting or autocomplete for content within the backticks of static get template() { return html}.

Do I just have things configured incorrectly? What are others using?


Solution

  • I use visual studio code and the following extensions to achieve this:

    • lit-html
    • Template Literal Editor

    As a side note I have also found the following extensions to be very helpful when developing polymer apps:

    • Import Cost (amazing extension that provides info on the size of your imports)
    • Polymer IDE
    • Polymer Snippets
    • Polymer Syntax