Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MyCommandsNew to Visual Studio Code? Get it now.
MyCommands

MyCommands

Methodox Technologies Inc.

|
2 installs
| (1) | Free
Some handy commands for everyday use.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

My Commands

A small collection of practical VS Code commands for everyday text editing and Markdown cleanup.

Features

My Commands adds lightweight commands for common text transformations directly from the Command Palette:

  • Dots (Enumerate Lines as MD Format)
  • Sort Line Items (CSV)
  • Indent Markdown Sections
  • Unindent Markdown Sections
  • Sort Markdown Sections
  • Count Lines

Commands

Dots (Enumerate Lines as MD Format)

Converts selected lines into Markdown bullet points.

Example:

Apple
Banana
Cherry

Becomes:

* Apple
* Banana
* Cherry

Sort Line Items (CSV)

Sorts comma-separated items in the selected text.

Example:

banana, apple, cherry

Becomes:

apple, banana, cherry

Indent Markdown Sections

Adds one heading level to each selected Markdown section header.

Example:

# Title
## Section

Becomes:

## Title
### Section

Unindent Markdown Sections

Removes one heading level from each selected Markdown section header. Level 1 headers are left unchanged.

Example:

# Title
## Section
### Details

Becomes:

# Title
# Section
## Details

Sort Markdown Sections

Sorts Markdown sections alphabetically by heading title while preserving section hierarchy and content.

This is useful for organizing notes, documentation, outlines, and Markdown files with repeated sections.

Count Lines

Counts the number of lines in the selected text. If no text is selected, it counts the lines in the whole document.

Usage

Open the Command Palette with Ctrl+Shift+P / Cmd+Shift+P / F1, then search for any command ending with - MyCommands.

Notes

Markdown section commands recognize GitHub-style headings such as:

# Heading
## Section
### Subsection

Only headings that start with one or more # characters followed by a space are treated as section headers.

Known Issues

N/A

Release Notes

0.0.1

Initial setup.

0.0.2

Implement sort line items and "dot".

0.0.3

Update "dot" behavior.

0.0.4

Initial release.

Add new commands.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft