Skip to content

everdrone/mark-meta-comments

Repository files navigation

Mark Meta Comments

This extension emulates XCode's // MARK: - comment decorations.

A MARK comment separating one section of code from the next.

Installation

Install it from the VSCode Marketplace

Usage

Just write // MARK: Foo or to get a regular mark comment (without the horizontal separator) or // MARK: - Foo to get the horizontal separator.

Any other word or combination of words can be put instead of MARK, like

// SECTION: - Foo

// SEE ALSO: - Bar

# PYTHON COMMENTS: - Also work!

#pragma mark - Foo

// pragma mark - Bar

Todo:

  • Allow # comments
  • Add minimap decorators
  • Add "Go To Symbol" feature

Contributing

Found a bug? Want a feature?

Feel free to open a new GitHub issue or start a new Pull Request!

Releases

No releases published

Packages

No packages published