skip to Main Content

Normally, pressing enter accepts a suggestion on intellisense, but when I press enter, it does not accept the suggestion and goes to the next row.

On pressing enter, I want to accept to the currently selected suggestion and automatically write the row. How can this be done?

2

Answers


  1. Go to File>Preferences>Settings and make sure that Accept Suggestions On Enter is on.
    VSCode Accept Suggestion On Enter option

    Login or Signup to reply.
  2. This only happens in PHP, so I use the arrow keys to navigate and then click on the suggestion. It’s not the best solution, but it works.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search