visual-studio-codeeditorxamarin-studiovisual-studio-mac

How can I "Add Next Occurrence" in Visual Studio for Mac?


In Visual Studio Code and Sublime Text there is functionality called "Add Next Occurrence" that selects next occurrence of marked text. The keyboard shortcut for utilizing this function is CMD+D (CTRL+D on Windows and Linux).

This function would select the next occurrence of the text and also add another cursor to the end of the newly selected text.

sublime

How can I achieve this in Visual Studio for Mac?


Solution

  • Unfortunately, this is not currently supported. There is however an open suggestion to the team that you can up-vote if you would like to see this feature in an upcoming release.

    Here is the link to the feature request: https://developercommunity.visualstudio.com/content/idea/351843/multiple-selection-with-the-keyboard.html