Closed chungweileong94 closed 5 months ago
I'm getting these kinds of errors in TypeScript files too.
I have seen this too. Weird part is, it does work fine as a dev extension. Need to investigate...
I suspect its because the extension api for language_ids
is not yet included with the stable release, which it seems the extensions are packaged with. It is included with zed v0.130.x, so waiting for v0.130 release is probably the solution here.
This extension will need some time to mature, since extensions are so new to zed too.
I tried the extension on the preview release and it is not working as intended and hallucinating about not being TypeScript
On Sun, Apr 7, 2024 at 2:10 PM, Tim Havlicek @.***(mailto:On Sun, Apr 7, 2024 at 2:10 PM, Tim Havlicek < wrote:
I suspect its because the extension api for language_ids is not yet included with the stable release, which it seems the extensions are packaged with. It is included with zed v0.130.x, so waiting for v0.130 release is probably the solution here.
This extension will need some time to mature, since extensions are so new to zed too.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Weird part is, it does work fine as a dev extension.
Yeah, I was able to get it to run properly as dev extension for some reason. Most probably a bug when Zed is trying to build the extension on production.
After some digging, it looks like the extension doesn't get packaged properly.
If you view the ~/Library/Application Support/Zed/extensions/installed/biome/extension.toml
, all the language_ids
are not part of it, and manually add them in will fix the issue.
This will be fully fixed with v0.0.2. See https://github.com/zed-industries/zed/pull/10293 Just waiting for at least pre-release.
Not sure if this is a Zed language server bug, All the TSX files in the project don't seem to work properly. I ran
biome check .
, it's all good.