Have you installed the language server globally? E.g. please try npm install -g @tailwindcss/language-server and restart Fleet. If the problem remains, please attach Fleet logs (please use Help | Collect Logs... action to collect them) after reproducing. Thank you.
npm install -g @tailwindcss/language-server
For uploading you can use https://uploads.jetbrains.com or any file sharing service.
Hi Andrey, would that also work with other language servers like the Svelte language server? I suppose the current Svelte plugin in Fleet is Jetbrains custom implementation instead of Svelte's official, which does not work for me.
Svelte support in Fleet indeed is implemented via our own solution, that comes from WebStorm Svelte integration. We have added initial such support in Fleet.
Could you clarify, please, what kind of Svelte integration support ideally you would like to see? Thank you.
Hi Andrey,First of all, thank you for your work and for the hands on approach regarding customer feedback. Keep in mind I do not build language servers like you do at Jetbrains, so please don't take this as an insult or as my trying to lecture you. I am solely providing my opinion because I really want to use Fleet for my Svelte development and ditch other IDEs.
In my opinion there are two important factors that make good Svelte support via a third party (Jetbrains) language server unfeasible if not impossible:
Secondly, SvelteKit is a very aggressive, opinionated meta framework that evolves in an even higher pace. A good example is the recently introduced zero-effort type safety. The language server recognises the exported variable name and in combination with the type of Svelte/ +*.ts file and automatically fills in the function parameters and return type. Plenty of other tricks and QOL improvements are made every week. Keeping up seems impossible to me, or at least with a big delay.I am positive these are also some of the considerations made by the Webstorm team in their choice to support the official Svelte language server in their latest EAP: https://blog.jetbrains.com/webstorm/2023/06/webstorm-2023-2-eap5/#svelte_lsp_support Corresponding YouTrack issue: https://youtrack.jetbrains.com/issue/WEB-58397 Thank you for your time and attention, I'd love you hear your thoughts on this.
Thank you very much for your feedback! I've filled the request for the team to investigate and consider this approach: FL-20398 Svelte support over LSP
Please feel free to vote/leave your feedback there. Thanks!
Please sign in to leave a comment.