typescript-lit-html-plugin: Doesn't work in Visual Studio 2017 15.7.4 with TypeScript SDK 2.9.2 installed

I have a Visual Studio 2017 project with .ts files that contain html literals.

In my package.json I have:

  "devDependencies": {
    "typescript": "^2.9.2",
    "typescript-lit-html-plugin": "^0.3.1"
  }

In my tsconfig.json I have:

    "plugins": [
      {
        "name": "typescript-lit-html-plugin",
        "tags": [
          "html",
          "svg",
          "raw"
        ]
      }
    ]

When editing .ts files the literals are just strings.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (16 by maintainers)

Most upvoted comments

@amcasey sorry, yeah i realized my mistake soon after i posted that and deleted my comment.

I got sidetracked but, I updated to 15.9.4 (I couldn’t find an easy way to just go to 15.8) and the plugin is working! 😃 (auto-closing tags and formatting support still doesn’t seem to be working - but intellisense, folding, and quickinfo are!)

Thanks a bunch for both of your guys’ help!