Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When I open some of my code files (tsx) I see that some of the LSP features (linting, finding references of variables, etc) are broken, and I see the following error messages:
- Request textDocument/foldingRange failed. Message: InternalError: panic handling request textDocument/foldingRange: runtime error: slice bounds out of range [:17024] with length 17012 Code: -32603
- Request textDocument/semanticTokens/range failed. Message: InternalError: panic handling request textDocument/semanticTokens/range: semantic tokens: token spans multiple lines: start=(223,45) end=(224,9) for token at offset 9236 Code: -32603
Steps to Reproduce
Just open a project with tsx or ts files.
Expected Behavior
LSP working fine.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.4.17
VSCode Version: 1.105.1
Commit: 93e603f703cd553a6bb3644711a3379bbbb31180
Date: 2026-05-13T21:39:55.724Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
