zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.03k stars 2.84k forks source link

Can't show code completion when ctrl-space #16777

Closed XardoniK closed 1 month ago

XardoniK commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Hi, I can't show code completions in .js or .astro files like you describe here: https://zed.dev/docs/completions I tried default keymaps (no keymaps property in settings json)

and I tried [ { "bindings": { "ctrl-space": "editor::ShowCompletions" } } ]

and

[ { "context": "Editor", "bindings": { "ctrl-space": "editor::ShowCompletions" } } ]

together with JetBrains keymaps.

When I clicked ctrl + space it doesn't show completions popup. I can only trigger completions by write eg variable.(it show completions for variable after dot sign) or by run command from command popup

Environment

Zed: v0.149.5 (Zed) OS: macOS 14.5.0 Memory: 18 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


zeptozor commented 1 month ago

there already was the same issue go to System settings Keyboard Keyboard shortcuts... Input sources, and remove the checkbox from Select the previous input source

XardoniK commented 1 month ago

Thank you so so much - it works!!!