accept suggestions on enter instead of tab not working
See original GitHub issueHey all,
Thanks for this awesome vs code plugin. Everything is working great, but I can’t seem to be able to get it to accept suggestions on enter. I’m probably missing something simple, but I can’t get it working.
Here is my vs code settings.json
{ "workbench.colorTheme": "dark+(elixir)", "editor.formatOnSave": true, "editor.acceptSuggestionOnEnter": "on" }
From reading the readme, it seems like that’s all that should be required. Completeing with tab is working fine btw.
Edit: Enter is working to accept suggestions in .html.eex files, but not .ex files. Not sure if that helps
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Debug Console: Accept Suggestions on Enter not working
Go to Debug Console · Type in any object with expected attributes · As attributes are displayed in intellisense, press enter · The...
Read more >How to change tab with enter key for autocomplete?
If you'd like to change that so Enter starts a new line, go to (File > Preferences >) Settings > Text Editor >...
Read more >Intellisence / Autocomplete - pressing enter creates a new line ...
When using Intellisence / Autocomplete I cannot use the 'enter' key to select an option anymore. Tab works, but enter now just creates...
Read more >Code completion | IntelliJ IDEA Documentation - JetBrains
You can accept a suggestion from the list in one of the following ways: Press Enter or double-click a list item to insert...
Read more >Use Smart Compose - Computer - Gmail Help - Google Support
To accept a suggestion, press Tab. Turn Smart Compose on or off. By default, Gmail will offer suggestions automatically. On your computer, open...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As far as I remember, you need to enable that setting explicitely for the elixir edit mode…
It is defined here:
https://github.com/elixir-lsp/vscode-elixir-ls/blob/a65e3af/package.json#L28-L37
Yeah I think it makes sense to just remove it