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

Autocomplete dont work with new @tailwindcss/language-server and 4.0.0-beta.9 #1120

Open
alxNoComment opened this issue Jan 10, 2025 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@alxNoComment
Copy link

alxNoComment commented Jan 10, 2025

latest version windows, vsc,
"tailwindcss": "^4.0.0-beta.9",

if you have today new version @tailwindcss/[email protected]
https://www.npmjs.com/package/@tailwindcss/language-server/v/0.12.18

autocomplete broken

if you downgrade to prev version 0.0.27 (yes crazy number , yes its prev version :D)
https://www.npmjs.com/package/@tailwindcss/language-server/v/0.0.27
all work fine

@thecrypticace
Copy link
Contributor

Yeah I bumped the version number to match the VSCode extension so they all stay in sync. I'll take a look.

@thecrypticace thecrypticace self-assigned this Jan 11, 2025
@thecrypticace thecrypticace added the bug Something isn't working label Jan 11, 2025
@thecrypticace
Copy link
Contributor

@alxNoComment Could you provide a reproduction?

@thecrypticace thecrypticace added the question Further information is requested label Jan 11, 2025
@MrFiregore
Copy link

MrFiregore commented Feb 6, 2025

also for me with windows 11
I tried to install @tailwindcss/language-server in develop dependency and configure the plugin to use it, but anything changes.

My webstorm version is WebStorm 2024.3.2.1 and Tailwind CSS bundled 243.23654.157

The error that appear in the logs is:

2025-02-06 13:27:42,625 [ 30497] INFO - #c.i.p.l.i.LspServerImpl - TailwindLspServerDescriptor@SoftCollie - front(Running;25): No response from the server in 10000ms for: com.intellij.platform.lsp.impl.LspRequestExecutorImpl$$Lambda/0x000001a47ead3308

I tried also to clean all cache, but nothing is different.

my tailwind.config.js:

/** @type {import('tailwindcss').Config} */
module.exports = {
    content: [
        "./src/**/*.{html,ts}",
    ],
    theme: {
        extend: {},
    },
    plugins: [
        require("tailwindcss"),
        require("autoprefixer"),
    ],
};

Important

Switching to WebStorm 2024.2.5 running well again, is a issue related to last version

@thecrypticace
Copy link
Contributor

thecrypticace commented Feb 12, 2025

Hey! I'm not seeing this with the latest version of the language server (v0.14.4), WebStorm (2024.3.2.1), and Tailwind CSS (4.0.6).

I had to manually install and point WebStorm to an installation of the language server tho (not sure if there's a way to get it to update its bundled version).

@thecrypticace thecrypticace removed the bug Something isn't working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants