asciidoctor-vscode
asciidoctor-vscode copied to clipboard
Section level up and level down
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
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.