Giter Club home page Giter Club logo

editorconfig-jetbrains's Introduction

EditorConfig JetBrains Plugin

A JetBrains IDE plugin supporting the EditorConfig standard.

Supported JetBrains IDEs: IntelliJ IDEA, PyCharm, WebStorm, RubyMine, and more.

Installation

Plugin Repository

It is available in the JetBrains Plugin Repository, which can be accessed from within JetBrains IDEs by going to Settings > Plugins > Browse repositories...

Manual Installation

  1. Download plugin release from the Releases page.
  2. Open settings/preferences
  3. Select "Plugins"
  4. Click "Install from disk..."
  5. Select the .zip (the binary release, not the source, and do not unzip)
  6. Follow prompt to restart the IDE

Usage

Simply put your .editorconfig file(s) in place according to the instructions on the EditorConfig site, and the plugin will enforce them. EditorConfig settings will silently override the normal settings configured in the IDE for all files controlled by EditorConfig. That is, if your IDE's settings say to use 4-space indents in Java files, but your EditorConfig settings enforce 2-space indents in all the files under the "src" directory, then hitting tab will insert 2 spaces on Java files in "src", but 4 spaces in all other Java files in the project.

Supported properties

The EditorConfig JetBrains plugin supports the following EditorConfig properties:

  • indent_style
  • indent_size
  • tab_width
  • charset
  • root (only used by EditorConfig core)
  • trim_trailing_whitespace
  • insert_final_newline

end_of_line is not supported due to difficulty of implementation in IntelliJ and because IntelliJ handles newlines quite intelligently already.

Bugs and Feature Requests

Feel free to submit bugs, feature requests, and other issues to the main EditorConfig issue tracker.

editorconfig-jetbrains's People

Contributors

bellkev avatar denofevil avatar treyhunner avatar

Watchers

 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.