Skip to content

not picking project files properly in Zed 0.14.17-0.14.21 #1404

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

Closed
SinnySupernova opened this issue Jun 6, 2025 · 3 comments
Closed

not picking project files properly in Zed 0.14.17-0.14.21 #1404

SinnySupernova opened this issue Jun 6, 2025 · 3 comments
Labels
question Further information is requested

Comments

@SinnySupernova
Copy link

What version of VS Code are you using?

I'm using Zed

What version of Tailwind CSS IntelliSense are you using?

0.14.17 - 0.14.21

What version of Tailwind CSS are you using?

v3.4.3

What package manager are you using?

npm/bun

What operating system are you using?

Linux

Tailwind config

module.exports = {
    content: [
        "../../project/templates/**/*.html",
        "../../project/static/**/*.js",
    ]
    ...
}

VS Code settings

Zed settings

...
"lsp": {
	"tailwindcss-language-server": {
		"binary": {
			"path": "/local/path1/bin/node",
			"arguments": [
				"/local/path2/node_modules/.bin/tailwindcss-language-server",
				"--stdio"
			]
		}
	}
}
...

Reproduction URL

n/a

Describe your issue

All versions from v0.14.17 to v0.14.21 do not work properly in Zed, while v0.14.16 works as expected. The project still initializes with the correct path in [Global] Creating projects:, but whenever the language server is used a log like this shows up in LSP logs:

[GLOBAL] No matching project for document {
  fsPath: '/path/to/file/in/project',
  normalPath: '/path/to/file/in/project'
}
@thecrypticace
Copy link
Contributor

@SinnySupernova Do you have a reproduction I can use to test with?

@thecrypticace thecrypticace added the question Further information is requested label Jun 6, 2025
@SinnySupernova
Copy link
Author

@SinnySupernova Do you have a reproduction I can use to test with?

A bit delayed but here it is:
https://github.com/SinnySupernova/tailwindcss-intellisense-issues/tree/issue-1404/

@thecrypticace
Copy link
Contributor

Your template path is wrong:

content: ["../../testdir/templates/**/*.html"],

should be:

content: ["../../testdir/**/*.html"],

There's no testdir/templates folder.

If you change that it'll start working again:

Image

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

2 participants