denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.66k stars 654 forks source link

No LSP in dynamic routes #2733

Open kaitpw opened 1 month ago

kaitpw commented 1 month ago

I can't seem to get any form of LSP support in routes like routes/greet/[name].tsx. I'm surprisingly not seeing mention of this issue anywhere. To be honest I haven't tried anything besides starting a project from scratch (in which LSP still did not work), but that's mostly because I can't think of any fixes.

If it helps: Zed is my editor I use an M2 Macbook Air

marvinhagemeister commented 1 month ago

I'm not familiar with Zed. Is the Deno LSP or extension running there? You're probably not seeing many people with this issue, because most JS devs are on vscode.

felix-schindler commented 5 days ago

Having the same issue with Zed. Since it works with VSCode, I would guess the problem is with Zed and not here.

Have a look here: https://github.com/zed-industries/zed/issues/21062

kaitpw commented 3 days ago

Ah thanks! Good to know I wasn’t the only one. Not sure why I never tried vscode