question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

accept suggestions on enter instead of tab not working

See original GitHub issue

Hey 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:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
NobbZcommented, Mar 13, 2020

As far as I remember, you need to enable that setting explicitely for the elixir edit mode…

"[elixir]": {
  "editor.acceptSuggestionOnEnter": "on"
}

It is defined here:

https://github.com/elixir-lsp/vscode-elixir-ls/blob/a65e3af/package.json#L28-L37

0reactions
axelsoncommented, Mar 14, 2020

Yeah I think it makes sense to just remove it

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found