Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No autocomplete for Go in multi-language project #11308

Open
1 task done
bramvbilsen opened this issue May 2, 2024 · 1 comment
Open
1 task done

No autocomplete for Go in multi-language project #11308

bramvbilsen opened this issue May 2, 2024 · 1 comment
Labels
bug [core label] go Go programming language support language server failure Language server doesn't work as expected language server An umbrella label for all language servers language An umbrella label for all programming languages syntax behaviors

Comments

@bramvbilsen
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When opening a project that includes different programming languages, Go files do not get any autocomplete.
For example, I have a project with the following structure:

.
├── client
│   ├── index.html
│   ├── package-lock.json
│   ├── package.json
│   ├── public
│   ├── src
├── server
│   ├── go.mod
│   ├── go.sum
│   ├── main.go

client is a javascript project in which autocomplete works. But, when opening server/main.go, the autocomplete does not seem to work (syntax highlighting is not affected). When opening just the server folder in Zed, the autocomplete does start working. So I believe this is due to go not being the only language in the project.

I have no custom settings (except for completely unrelated UI stuff).

Environment

Zed: v0.133.5 (Zed)
OS: macOS 14.4.1
Memory: 64 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.

No response

@bramvbilsen bramvbilsen added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels May 2, 2024
@d1y
Copy link
Contributor

d1y commented May 2, 2024

#10224 (comment)

@JosephTLyons JosephTLyons added language An umbrella label for all programming languages syntax behaviors go Go programming language support language server failure Language server doesn't work as expected language server An umbrella label for all language servers and removed triage Maintainer needs to classify the issue admin read Pending admin review labels May 3, 2024
@github-actions github-actions bot added admin read Pending admin review triage Maintainer needs to classify the issue labels Nov 5, 2024
@notpeter notpeter removed triage Maintainer needs to classify the issue admin read Pending admin review labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] go Go programming language support language server failure Language server doesn't work as expected language server An umbrella label for all language servers language An umbrella label for all programming languages syntax behaviors
Projects
None yet
Development

No branches or pull requests

4 participants