https://marketplace.visualstudio.com/items?itemName=matsuyoido-kanro.space-align-format
- Adjust the display of each row.
- Align the text of each selected word to the left.
Don't need anything.
Requirement: open file & activate.
- How1
- Right click in file.
- click 「Space by columns」
- How2
- Ctrl + Shift + P
- input & select「Format: Space by columns」
Before:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
After:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
- How1
- select multiple line.
- Right click in selected range.
- click 「Space by columns」
- How2
- select multiple line.
- Ctrl + Shift + P
- input & select「Format: Space by columns」
Before:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
After:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
3. Categorize by the number of words on each line. Align words to the left on each categorized line.
- Ctrl + Shift + P
- input & select「Format: Space by columns group」
Before:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
After:
abcdef ghijk lmnop qr stuv
abcd efgh ijkl mnop rstuv
abc def ghi jklmn o pqr st
abc def gh ijklmn op qr st
- Ctrl + Shift + P
- input & select「Format: Space by center character」
- Input the word that you want to center.
- (Optional) Input the word that you want to insert the beginning of the line.
- If you don't need it, enter 「Escape key」 or 「Enter key」
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
- How1
- select multiple line.
- Right click in selected range.
- click 「Space by center character all」
- How2
- select multiple line.
- Ctrl + Shift + P
- input & select「Format: Space by center character」
- Input the word that you want to center.
- (Optional) Input the word that you want to insert the beginning of the line.
- If you don't need it, enter 「Escape key」 or 「Enter key」
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
- Ctrl + Shift + P
- input & select「Format: Space by center character(left only)」
- Input the word that you want to center.
- (Optional) Input the word that you want to insert the beginning of the line.
- If you don't need it, enter 「Escape key」 or 「Enter key」
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
- How1
- select multiple line.
- Right click in selected range.
- click 「Space by center character(left only)」
- How2
- select multiple line.
- Ctrl + Shift + P
- input & select「Format: Space by center character(left only)」
- Input the word that you want to center.
- (Optional) Input the word that you want to insert the beginning of the line.
- If you don't need it, enter 「Escape key」 or 「Enter key」
Before:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
After:
123 + 34 + 56 = 213
12 + 345 + 6 = 363
1234 + 56 = 1290
12 + 34 + 5 + 6 = 46 + 11
Please look at CHANGELOG.md.