Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not load compilerOptions.plugins in tsconfig.json #1128

Closed
ccqgithub opened this issue Mar 30, 2022 · 2 comments
Closed

Not load compilerOptions.plugins in tsconfig.json #1128

ccqgithub opened this issue Mar 30, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ccqgithub
Copy link

I am use typescript-plugin-css-modules to make IntelliSense for css modules.

Not with volar

What i do with the vscode's ts server:

  • Install typescript-plugin-css-modules
  • Add "plugins": [{"name": "typescript-plugin-css-modules"}] to compilerOptions
  • Use workspace version typescript.

All is work right, if i import the css modules file, have auto complete for the available classnames.

Broken with volar

But if i enable the TypeScript Vue Plugin or disable it and use take over mode, have no IntelliSense of classnames.

I tried to change volar typescript version to workspace version, still doesn't work.

Is it volar's ts server not load the plugins that configured in the tsconfig.json?

@johnsoncodehk johnsoncodehk added the enhancement New feature or request label Mar 31, 2022
@johnsoncodehk
Copy link
Member

Is it volar's ts server not load the plugins that configured in the tsconfig.json?

Yes. 👀

@johnsoncodehk
Copy link
Member

For TS plugin supports, please track #1005.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants