zed icon indicating copy to clipboard operation
zed copied to clipboard

Auto-completion does not work for js/ts

Open Dhruveren opened this issue 1 year ago • 4 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

When try to auto complete symbols , no auto completion menu is being popped up . It just shows that downloading javascript language server after that completion happens . I have also tried this on the preview 0.119.4 , but same problem was arising .

Environment

Zed: v0.118.1 (Zed) OS: macOS 14.2.1 Memory: 8 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

Dhruveren avatar Jan 10 '24 18:01 Dhruveren

No language server file has been found inside the javascript/typescript language server .

Dhruveren avatar Jan 10 '24 19:01 Dhruveren

I have the same issue. json/tailwindcss/typescript language server directories under Zed/languages are empty. Here's my log: zed.log

maciej-trebacz avatar Jan 24 '24 20:01 maciej-trebacz

I was having the same issue, but I could fix it!

Have you tried one of both? https://github.com/zed-industries/zed/issues/4628#issuecomment-1908628110 https://github.com/zed-industries/zed/issues/4628#issuecomment-1908628375

fm1randa avatar Jan 26 '24 19:01 fm1randa

@fm1randa Thanks for the links, the second one did the trick for me, I indeed had some stray package.json & yarn.lock files in my home directory, removing them solved the issue!

maciej-trebacz avatar Jan 27 '24 15:01 maciej-trebacz