Sublime Text: multiple selection in selected

I want to make multiple selections and edit within the specified selection in Sublime Text 2. The following screenshot illustrates the situation:

enter image description here

When I select the "item" and press Alt + F3 (on Windows), I can edit all instances of the item at the same time. However, what I would like to do is to be able to edit all instances of an element only in the container, leaving the element in the container unchanged. At first I tried to select a specific area, but as soon as I try to select an “element”, my first choice will disappear.

Can this be achieved in Sublime Text 2?

+4
source share
3

Find in Selection Find. , :

selection

Ctrl F, Find. , (, element), - In Selection ( ):

Find in selection

, Alt Enter, Find All, element :

found

.

+3

Ctrl + D, , , -a.

+1

(, , , .)

, "auto_find_in_selection" true (, , SublimeText 3). "In Selection" .

  • ( ) Ctrl + E ( slurp_find_string). , .
  • , (Ctrl + Shift + J )
  • Ctrl + F, ( " " , ).
  • Alt + Enter, .
+1

Source: https://habr.com/ru/post/1535830/


All Articles