Open AlexanderArvidsson opened 3 months ago
This is a separate VSCode Twind intellisense
extension that I developed, which only supports v1. It is still a work in progress. If you're interested, feel free to check it out.
This is a separate
VSCode Twind intellisense
extension that I developed, which only supports v1. It is still a work in progress. If you're interested, feel free to check it out.
Thanks, but I'm actually not using VS Code. A Typescript plugin (in my eyes) is always superior to any editor-specific plugin due to the fact it's agnostic, so it can be used with any editor. Personally, I would push this plugin due to that, rather than a VS Code plugin.
Updates the plugin to work with Typescript 5. Most likely not backwards compatible with Typescript 4, I have not tried it. The biggest change is the consolidation of
tsserverlibrary
andtypescript
libraries, and the removal of project wideresolveModuleNames
(they are deprecated anyway). It now relies on the language server host to resolve the twind DTS file.Typescript 5 is stricter, so some parts of the code had to be updated with proper typing.
Solves https://github.com/tw-in-js/typescript-plugin/issues/21, https://github.com/tw-in-js/vscode-twind-intellisense/issues/24, https://github.com/tw-in-js/vscode-twind-intellisense/issues/22, https://github.com/tw-in-js/vscode-twind-intellisense/issues/23
I read that you plan to rework this plugin to use your new intellisense package, but until that is done this should suffice. You'll probably want to publish the current plugin as a v4 version, but that's entirely up to you!