I want to execute the "Format Document" menu item in Visual Studio on macOS.

I've attempted pressing control + | (pipe), but the item is not executed. Can ^| be interpreted differently than the above key sequence?

enter image description here

  • To type the pipe symbol hold the shift key too. control + shift + | – bjbk Dec 16 '19 at 12:43

It could be capital i.

enter image description here

Try ctrl + Shift + \ if it's not i.

| improve this answer | |
  • Found the solution: had to press ctrl + I (lowercase). Thanks for your hint. – Shuzheng Dec 16 '19 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .