skip to Main Content

Is there a way in VSCode to after I type Ctrl+. and accept a correction with quick fix, to automatically run the key combo Alt+F8 to move to the next problem without having to press it yourself?

I use a spelling extension and it to correct a word by selecting Ctrl+. then selecting the correct suggestion. However after this selection I want it to automatically move to the next item in the problem list. Currently it doesn’t do this but I have to Press Alt+F8 which is the default to open the next problem. Then I click Ctrl+. again to select which correction applies.

I am not sure why VSCode doesn’t have option to move automatically to the next problem after fixing the first. I looked at the settings and there isn’t such an option.

Visual:

  1. Have file with problems and press Alt+F8 to navigate to first problem

    screenshot showing Problem popup on a misspelled word

  2. Press Ctrl+. and select a suggested correction from the list with mouse click or enter.

    screenshot showing Quick Fix popup on the misspelled word

  3. After correction with Ctrl+. the cursor stays on the corrected word and one has to manually click Alt+F8 again to to go to the next problem.

    screenshot showing Problem popup still on the word after correction

2

Answers


  1. Chosen as BEST ANSWER

    Currently I could not find a solution

    I put it as a feature request on vscode:

    https://github.com/microsoft/vscode/issues/209212

    It won't get fixed as it need to get at least 20 upvotes in 60 days for it just to make the backlog and I can't see any ways for it to get upvoted.


  2. I don’t think there is such a feature. What I have done is to assign new keybindings for the two commands which are close to each other on the keyboard. So you still have to do it as two commands, but it is more seamless.

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