Skip to content

Invalid edit range on completion resolve response #1479

@smitbarmase

Description

@smitbarmase

What version of VS Code are you using?

Using Zed.

What version of Tailwind CSS IntelliSense are you using?

N/A

What version of Tailwind CSS are you using?

"tailwindcss": "3.4.18",
"@tailwindcss/language-server": "0.14.28"

What package manager are you using?

npm

What operating system are you using?

macOS

Tailwind CSS Stylesheet (v4) or config file (v3)

None

VS Code settings

Using Zed

Reproduction URL

Can be reproducible in new Vite react typescript app. More: https://vite.dev/guide/.

Describe your issue

Use classname such as "*:mx-[^]" where ^ is your cursor. Type "100000" quickly. You get edit ranges where start is greater than end.

Zed Issue: zed-industries/zed#36223

You can also run Zed locally and add dbg! log here:

https://github.com/zed-industries/zed/blob/a56122e1448ce6022a8a1be08167f94c6498fc66/crates/project/src/lsp_command.rs#L2209

to see this.

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