Is there a way to select multiple non-contiguous (fully separated) texts in VS? I can do this in MS Word by highlighting the texts separately while holding down the Ctrl key, for example:
My version is 11.
Edit: I'm not talking about choosing a block Alt+Select. I would also like to see if there is a technique in Notepad ++.
Alt+Select
Editing multiple cursors is initially supported in Visual Studio starting with version 8, update 8. Here is the documentation:
Select multiple carriages
and here is a screenshot of the available command:
Visual Studio 2017 SelectNextOccurrence, .
.Ctrl + D Sublime Text .
.
Ctrl + D Sublime Text .
:
Visual Studio:
SelectNextOccurrence.SelectNextOccurrence
SelectNextOccurrence.SkipOccurrence
SelectNextOccurrence.UndoOccurrence
SelectNextOccurrence.AddCaretAbove
SelectNextOccurrence.AddCaretBelow
https://marketplace.visualstudio.com/items?itemName=thomaswelen.SelectNextOccurrence
https://github.com/2mas/SelectNextOccurrence
MixEdit Visual Studio , . .
Visual Studio 2017 15.8 Ctrl + Alt + Click .
https://blogs.msdn.microsoft.com/visualstudio/2018/08/30/improving-your-productivity-in-the-visual-studio-editor/
Visual Studio Shift+Alt+./Shift+Alt+, Shift+Alt+./Shift+Alt+,
Shift+Alt+./Shift+Alt+,
Shift+Alt+.
Shift+Alt+,
, VSCode Ctrl+D
Ctrl+D
Tool - Options - Environment - keyboard. Show commands containing Edit. ,
Tool - Options - Environment - keyboard
Show commands containing
Edit.
Visual Studio Code. Visual Studio 2017
Visual Studio Code
, Visual Studio
,
MixEdit .
" . MIXEDIT , ".
- - SublimeText.
: MixEdit .
MultiEdit VS ( , )
, : Visual Studio MultiEdit
, VS, alt+click, ( , , Ubuntu).
alt+click
, - , ctrl+click.
ctrl+click
Selection > Switch to Ctrl+Click for Multi Cursor
Selection
Switch to Ctrl+Click for Multi Cursor
, . CodeRush, .
Notepad ++ . -
a > > >
, MS Word, , ( Ctrl, ).
- Multi Line. .
shift + alt +. ?
shift + alt +.
Ctrl + Alt + Click, , , : https://marketplace.visualstudio.com/items?itemName=thomaswelen.SelectNextOccurrence
Ctrl + Alt + Click
In Visual Studio 2019, you can place the cursor in the right place, and then press SHIFT ALT and. (Dot). This will select the next occurrence.