1
- # Column Select
1
+ # Basic
2
2
3
- ## Adding
3
+ ## Column Select
4
4
5
- ** Hint:** alt-drag to select a column
5
+ ### Adding
6
+
7
+ ** HINT:** alt-drag to select a column
6
8
7
9
transform the start: ` 1 => #1) `
8
10
@@ -14,7 +16,7 @@ transform the start: `1 => #1)`
14
16
6 grape
15
17
7 dragonfruit
16
18
17
- ## Deleting
19
+ ### Deleting
18
20
19
21
delete the j and the two characters that follow
20
22
@@ -26,11 +28,37 @@ delete the j and the two characters that follow
26
28
6 grj%9ape
27
29
7 drjlKagonfruit
28
30
31
+ # Advanced
32
+
33
+ ## Setup Open w/ VS Code
34
+
35
+ unfortunately, multi-cursor support is pretty basic in Visual Studio.
36
+ Our suggestion is to jump to VS Code whenever you have a more
37
+ advanced multi-cursor use-case.
38
+ Here's how to set up Visual Studio to this easily.
39
+
40
+ 1 . Go to Tools->External Tools...
41
+ 2 . Click "Add"
42
+ 3 . Title: ` &1 vscode `
43
+ 4 . Command: ` "your\path\to\vscode\code.exe" `
44
+ 5 . Arguments: ` . -g $(ItemPath):$(CurLine):$(CurCol) `
45
+ 6 . Initial directory: ` $(SolutionDir) `
46
+ 7 . Click "OK"
47
+
48
+ In the end, it should look something like this:
49
+ ![ screenshot] ( external_tools.png )
50
+
51
+ After this, pressing the following key sequence (one at a time) ` alt t 1 `
52
+ will open the current document in VS code at the current cursor position.
29
53
30
54
## Word Select
31
55
32
56
transform ` 1 apple => private string apple = "apple"; `
33
57
58
+ ** HINT:** alt-shift-drag selects a column in VS Code.
59
+ ** HINT:** ctrl-shift-➔ selects a word.
60
+ ** HINT:** You can copy/paste columns of words.
61
+
34
62
1 apple
35
63
2 orange
36
64
3 pear
0 commit comments