All Projects → zoejessica → marker-extension

zoejessica / marker-extension

Licence: other
Sample project demonstrating use of an Xcode Source Editor Extension to format Swift code

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to marker-extension

ViewGenerator
⚒ ViewGenerator generates view code from variable name automatically in iOS development
Stars: ✭ 75 (+294.74%)
Mutual labels:  xcode-extension
AMEGetterMaker
A lazyload getter maker without resign for Xcode
Stars: ✭ 42 (+121.05%)
Mutual labels:  xcode-extension
vscode-fortran-support
Fortran language support for Visual Studio Code
Stars: ✭ 49 (+157.89%)
Mutual labels:  formatting
unicode-formatter
Convert portions of text to fancy text using unicode fonts for use on Twitter and other sites that don't support rich text
Stars: ✭ 31 (+63.16%)
Mutual labels:  formatting
lint
Linting and formatting for SAS® code
Stars: ✭ 16 (-15.79%)
Mutual labels:  formatting
AutoFormatInputWatcher
This repository contains input watcher for auto formatting digits in edit text
Stars: ✭ 15 (-21.05%)
Mutual labels:  formatting
tableize
Turn lists into tables with ease
Stars: ✭ 12 (-36.84%)
Mutual labels:  formatting
dockerfile-utils
A library and command line interface for formatting and linting Dockerfiles.
Stars: ✭ 17 (-10.53%)
Mutual labels:  formatting
Prestyler
Elegant text formatting tool in Swift 🔥
Stars: ✭ 36 (+89.47%)
Mutual labels:  formatting
intl-tel-input-rails
intl-tel-input for the Rails asset pipeline
Stars: ✭ 35 (+84.21%)
Mutual labels:  formatting
numberfmt
Number formatting using a text pattern and native Intl.NumberFormat()
Stars: ✭ 17 (-10.53%)
Mutual labels:  formatting
ufmt
Safe, atomic formatting with black and µsort
Stars: ✭ 46 (+142.11%)
Mutual labels:  formatting
vscode-uncrustify
Code format using uncrustify
Stars: ✭ 62 (+226.32%)
Mutual labels:  formatting
xslt-sandbox
My xslt sandbox
Stars: ✭ 37 (+94.74%)
Mutual labels:  formatting
address-formatter
Universal international address formatter in Javascript
Stars: ✭ 65 (+242.11%)
Mutual labels:  formatting
sample-generator
Xcode Source Editor Extension to generate Swift model samples
Stars: ✭ 19 (+0%)
Mutual labels:  xcode-extension
MineDown
A MarkDown inspired markup library for Minecraft chat components
Stars: ✭ 128 (+573.68%)
Mutual labels:  formatting
teks
Easily get custom go template based outputs to your command-line tool. Like in docker/kubernetes
Stars: ✭ 41 (+115.79%)
Mutual labels:  formatting
yaml-front-matter
A to the point yaml front matter parser
Stars: ✭ 200 (+952.63%)
Mutual labels:  formatting
CHRTextFieldFormatter
Provides UITextField formatting masks. Such as phone number and credit card number formatters.
Stars: ✭ 52 (+173.68%)
Mutual labels:  formatting

Marker Extension

Sample code to accompany blog post on Xcode extensions: implements an Xcode Source Editor extension to format Swift code.

This extension uses regular expressions to reformat malformed code marks (TODO, FIXME and MARK) to be uppercased with a trailing colon, enabling Xcode to recognize and add them to quick navigation links.

This formatting rule was inspired by one of the many rules provided by the SwiftFormat project. A fuller implementation like SwiftFormat's which also recognizes code marks inside /* */ comments is left as an exercise for the reader 😇.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].