R
R
Roman Ilyin2012-12-12 08:10:53
Sublime Text
Roman Ilyin, 2012-12-12 08:10:53

How to wrap each line with specific code in Sublime text?

For example, there is a similar structure:

line one
line two
line three
line four


How to quickly turn it into:
wrapping text line one wrapping text
wrapping text line two wrapping text
wrapping text line three wrapping text
wrapping text line four wrapping text

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kir ---, 2012-12-12
@GeForester

Ctrl+Alt+Down enter text, End, enter text

A
AlexBattlehater, 2018-09-03
@AlexBattlehater

Late, probably, but if someone else does not know: select the text, press ctr + alt + enter. For HTML, it will appear as a div wrapper, if you need another - in the input field that appears below - enter the desired tag, if you need to wrap each line individually - put an asterisk (*) after the tag.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question