GithubHelp home page GithubHelp logo

yujinlim / editorconfig-xcode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marcosero/editorconfig-xcode

0.0 3.0 0.0 28 KB

Plugin to add EditorConfig support to Xcode

Home Page: http://editorconfig.org

License: MIT License

Objective-C 100.00%

editorconfig-xcode's Introduction

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

editorconfig-xcode's People

Contributors

marcosero avatar yujinlim avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.