Skip to content
/ Mark Public
forked from velyan/Mark

Xcode extension for generating MARK comments.

License

Notifications You must be signed in to change notification settings

exv-datnm/Mark

Repository files navigation

Mark

Xcode extension for automatic generation of '//MARK: -' comments.

mark_all.gif

Why?

If you would like to organize your code with '//MARK: -' comments, this will save you some time. Mark automatically generates comments from any class, struct, protocol or extension declaration in the current file.

Installation Guide (Xcode 8 / OSX 10.11+)

  1. close Xcode
  2. (OSX 10.11 only) sudo /usr/libexec/xpccachectl
  3. download the Mark app
  4. unzip and copy to Applications folder
  5. run (right click + open)
  6.  -> System Preferences... -> Extensions -> All -> Enable Mark
  7. open Xcode
  8. select a Swift source file
  9. check if Editor -> Mark is there
  10. (/^▽^)/

Usage

  • To populate comments in the entire file go to 'Editor -> Mark -> Mark All'.

  • To generate comments from selection, select text and go to 'Editor -> Mark -> Mark Selected'.

mark_selected.gif

  • To insert an emty mark simply go to 'Editor -> Mark -> Mark Selected'.

mark_empty.gif

Supported languages

  • Swift

License

MIT, see LICENSE

About

Xcode extension for generating MARK comments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%