question

SimonSanchez-5273 avatar image
0 Votes"
SimonSanchez-5273 asked MichaTomys-5554 commented

Change shortcut for next/previous element in autocompletion pop-up Visual Studio 2019

Hello! I want to change the shortcut used to select the next/previous autocompletion item in the pop-up.
Right now the shortcut is up-arrow and down-arrow. I want to change it to ctrl+i and ctrl+j respectively.

I've tried searching in the Keyboard settings under Environment, but didn't seemed to find a function for this. Is there a way of doing this? Thanks.
92391-test.gif


vs-general
test.gif (467.7 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Do you also want to disallow the <Up> and <Down> arrows in such menus? How should they behave?

0 Votes 0 ·

1 Answer

AnnaXiu-MSFT avatar image
2 Votes"
AnnaXiu-MSFT answered MichaTomys-5554 commented

Hi @SimonSanchez-5273,

Welcome to Microsoft Q&A!

For your requirement, you can customize a keyboard shortcut by go to Tools > Options > Environment > Keyboard > assign Alt + I and Alt + J to ”Edit.LineUp” and “Edit.LineDown” commands.
(Based on my testing, I suggest you use Alt + I and Alt + J shortcut.)
92564-image.png

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (99.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks a lot, Anna!

0 Votes 0 ·

Thank you for this! I saved hours by not moving my hand to the arrow keys anymore

0 Votes 0 ·