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

Fix decorating the language service #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

remcohaszing
Copy link

TypeScript plugins using this library were incompatible with Volar. This is fixed by patching the language service instead of a Proxy object.

I’m not entirely sure why this works, but it does. Hence I’m not sure how to test it. Existing tests pass though.

This is related to mdx-js/mdx-analyzer#451. I confirmed that this change solves that problem by applying them in node_modules.

TypeScript plugins using this library were incompatible with Volar. This
is fixed by patching the language service instead of a Proxy object.
@karlhorky
Copy link

karlhorky commented Jun 28, 2024

@mjbvz is this repo still active / maintained / receiving new bugfixes? Or should these changes be redirected elsewhere?

(just looking at the last commit being 2 years ago)

This issue is affecting multiple VS Code extensions in the ecosystem:

(according to styled-components/vscode-styled-components#448, maybe also the Vue, Astro and Ember extensions)

@remcohaszing
Copy link
Author

“Affecting” in the sense that all TypeScript plugins interact with each other. Of those plugins only Styled components actually uses this package.

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

Successfully merging this pull request may close these issues.

2 participants