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
Go to File>Preferences>Settings and make sure that Accept Suggestions On Enter is on.
VSCode Accept Suggestion On Enter option
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.