Typescript language service plugins seem to be not supported

This issue seems to be fixed: https://youtrack.jetbrains.com/issue/WEB-26678?_ga=2.31221247.1704285002.1570135722-295882814.1561416546

 

But I am still not able to use this plugin in my project: https://github.com/runem/lit-analyzer/tree/master/packages/ts-lit-plugin

This is how my tsconfig looks:

 

Is it that Webstorm still does not support typescript language service plugins generically.

 

Also, it will be great to have `lit-html/lit-element` support.

2 comments
Comment actions Permalink

Normally TypeScript plugins just work and don't require special support.

Please can you elaborate on your setup? Are your components written in TypeScript or JavaScript? Do you write them in .js/.ts files, or in embedded JavaScript/TypeScript (in a <script> tag)?

 

Please share a sample project the issue can be reproduced with

0
Comment actions Permalink

Clarifications:

-  The components are written in Typescript in `.ts` files.

This is a sample project https://github.com/ashubham/lit-element-poc ... If you go to `src/widgets/label/label.ts` there is a component defined. Now the usage is in `src/containers/left-panel/left-panel.ts` where I use `bk-label` component. Here I am not able to see completions from the plugin.

 

FWIW, the completions are visible if I use Visual studio code.

1

Please sign in to leave a comment.