• Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Plugin to add EditorConfig support to Xcode

EditorConfig Xcode Plugin

Plugin to add EditorConfig support to Xcode.

What is EditorConfig

EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems.

For more info, head to http://editorconfig.org

What this plugin does

When opening a file, the plugin looks for a file named .editorconfig in the directory of the opened file and in every parent directory. Once the file is found, the coding styles for the file extension will be read and the plugin will dynamically change the Xcode settings to match the style.

This is particularly useful in different scenarios:

  • When contributing to a project which has a different style guide from what you normally use, you can just use a different .editorconfig to override the default settings.
  • If you like having different indentation settings for different languages (e.g. Objective-C and Swift).
  • You prefer your indentation settings to be editor-agnostic.

Install

Install via Alcatraz. Just search for β€œEditorConfig”.

Settings currently supported

  • indent_style
  • indent_size
  • tab_width

How this is different from ClangFormat

ClangFormat is a much more powerful tool, but it can be overkill for simply changing indentation settings.

Contact

marcosero.com
@marcosero

License

MIT

More Repositories

1

MSSlideNavigationController

Facebook like UINavigationController to slide back to previous view controller.
Objective-C
160
star
2

MSMatrixController

A component to organize your view controllers in a gesture-based 2D matrix.
Objective-C
133
star
3

HackerNews

An open source, beautifully designed Hacker News client for iPhone
HTML
111
star
4

Nimble

Core Data and iCloud made nimble and fast
Objective-C
98
star
5

MSNavigationSwipeController

Subclass of UINavigationController to add 'swipe right to go back' gesture recognizer like most apps (Facebook, Tweetbot) already do.
Objective-C
72
star
6

MSMapClustering

A subclass of MKMapView to cluster annotations
Objective-C
52
star
7

Swiftener

Collection of extensions, operators and utilities to add syntactic sugar to Swift
Swift
20
star
8

Norvigs-Spelling-Corrector

A Haskell implementation of Peter Norvig's spelling corrector
Haskell
15
star
9

PolyglotApp

A Polyglot iOS Application
Objective-C
11
star
10

CKComponentFadeTransition

A ComponentKit extension to add fade transitions.
Objective-C++
8
star
11

dotfiles

My dotfiles
Vim Script
7
star
12

Algorithms

Small collection of simple algorithms written in Swift
Swift
6
star
13

SpringBoard-iOS-5.0

iOS 5.0 headers Springboard.app
Objective-C
5
star
14

MSBlockSegues

Block-based Storyboard Segues
Objective-C
4
star
15

userl

A CLI to get the most used languages of a GitHub user
Ruby
3
star
16

lifeofadev.eu

Ruby on Rails CMS that I use to run my blog
JavaScript
2
star
17

StatusBoard-BitBucket

Ruby
2
star
18

toSync

A simple Java program to synchronize folders
Java
2
star
19

SnoozeOrStop

iOS Tweak. Adds the button to stop alarm in Lockscreen or stops it with lock button
Objective-C
2
star
20

gruber

A not very functional (yet) Markdown parser written in Haskell
Haskell
1
star
21

Mail-my-IP

A program that notifies the change of the public IP via email
Java
1
star
22

msChat

A simple Java-based chat for educational purposes
Java
1
star