Skip to content

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

Closed
@SinnySupernova

Description

@SinnySupernova

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'
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions