Skip to content

Commit 4909cce

Browse files
committed
Update 1.1. Multiple selection in PHP.php
1 parent a5909a4 commit 4909cce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

02 - Editing/08 - Multiple Selection/1.1. Multiple selection in PHP.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Put the cursor in multiple locations in a file and write code simultaneously in all these positions.
66
*
7-
* Press and hold Alt+Shift and use the mouse to select the locations where a cursor is desired.
7+
* Press and hold Alt and use the mouse to select the locations where a cursor is desired.
88
* Escape to revert back to one cursor. (Windows/Linux/Mac OS X)
99
*
1010
* Select Next Occurrence:
@@ -14,20 +14,20 @@
1414

1515
// 1. Check below. This is all plain text, we would like add all resources to an array.
1616
// Delete the first line and the blank line so only the actual resources remain.
17-
// 2. Place the cursor right after the first *. Press and hold Alt+Shift and use the mouse to select
17+
// 2. Place the cursor right after the first *. Press and hold Alt and use the mouse to select
1818
// the locations where a cursor is desired, right after every *.
19-
// 3. Release Alt+Shift and start typing. Text should now appear at every cursor. Use backspace to remove
19+
// 3. Release Alt and start typing. Text should now appear at every cursor. Use backspace to remove
2020
// all *. Add ' at the start of each line. Move the cursors to the end of the line and add ',
2121
// 4. Hit Escape to revert back to one cursor. Select the | in the first line. Use Select Next Occurrence
2222
// to select all | characters and have a cursor there. Remove the character and replace it with ', '
2323
// Move the cursors to the end of the line and press the delete key. This will move all resources to just one line.
2424
// 5. Hit Escape to revert back to one cursor and add array( at the beginning of the line and ); at the end. We now have an array.
25-
// 6. Hold Alt+Shift and drag the mouse from the number 6 in front to the // 1.. Note that the multiple selection now selected
25+
// 6. Hold Alt and drag the mouse from the number 6 in front to the // 1.. Note that the multiple selection now selected
2626
// a block of text we can work with.
2727

2828
PhpStorm Resources
2929

3030
* Blog | http://blog.jetbrains.com/phpstorm
3131
* Twitter | http://twitter.com/phpstorm
3232
* Video tutorials | http://www.jetbrains.com/phpstorm/documentation/phpstorm-video-tutorials.jsp
33-
* Tutorials | http://confluence.jetbrains.com/display/PhpStorm/Tutorials
33+
* Tutorials | http://confluence.jetbrains.com/display/PhpStorm/Tutorials

0 commit comments

Comments
 (0)