Deno Language Server doesn't work with brackets in filename #21062
Labels
bug
[core label]
language server failure
Language server doesn't work as expected
tsx
TypeScript JSX support
typescript
TypeScript programming language support
Check for existing issues
Describe the bug / provide steps to reproduce it
Deno's web app framework "Fresh" uses file-based routing, similar to Nextjs. So in order to create a dynamic route, you create a file with square brackets in the name. E.g.
blog/[slug].tsx
When using Zed, it seems the language server does not work in any of these files. None of the language-server intelligence features work, and saving a file (with format_on_save) does not format the file, it throws the following error in the status bar:
Logs:
Note: Unclear if this is a Zed issue or Deno LSP issue... I posted here because I assume the Deno Language Server works with other tools, e..g VS Code seems to work fine with these files.
Reproduce
[slug].ts
none of the language server features work.Environment
Zed: v0.162.5 (Zed)
OS: macOS 15.1.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: