asciidoctor-vscode icon indicating copy to clipboard operation
asciidoctor-vscode copied to clipboard

Section level up and level down

Open aisbergde opened this issue 3 years ago • 1 comments
trafficstars

Often I split the content of one file into different files or vice versa. Sometimes I copy content from one file to another. Most of the time the levels are not correct. Therefore, I would like to propose a functionality where you can increase or decrease the levels of a selection (or even the whole file). Like it is possible when working with Microsoft Word.

Example 1

before

== aaa

blah blah

=== bbb

blah blah

==== ccc

blah blah

after

= aaa

blah blah

== bbb

blah blah

=== ccc

blah blah

and vice versa before

= aaa

blah blah

== bbb

blah blah

=== ccc

blah blah

after

== aaa

blah blah

=== bbb

blah blah

==== ccc

blah blah

aisbergde avatar Sep 25 '22 18:09 aisbergde

That's a good idea! We could use tab and shift + tab (usually used to indent and unindent a block) to increase or decrease the levels of a selection.

ggrossetie avatar Oct 01 '22 21:10 ggrossetie