Skip to content
master
Switch branches/tags
Code
This branch is up to date with master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

EditorConfig

EditorConfig helps developers maintain consistent coding styles between different editors

Install

$ apm install editorconfig

Or, Settings → Install → Search for editorconfig

Getting started

See the EditorConfig documentation.

Supported properties

  • root
  • indent_style
  • indent_size
  • charset (supported values: latin1, utf-8, utf-16be, utf-16le)
  • end_of_line (supported values: lf, crlf)

Features

  • Applies the above settings from your .editorconfig file
  • Syntax highlights .editorconfig files
  • Ability to generate an .editorconfig file based on the current settings

Example file

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true # doesn't work yet
insert_final_newline = true # doesn't work yet

Generate config

You can generate an .editorconfig file based on the current setting by opening the Command Palette and choosing EditorConfig: Generate Config.

License

MIT © Sindre Sorhus

About

Helps developers maintain consistent coding styles between different editors

Resources

License

Stars

Watchers

Forks

Packages

No packages published