@wiptheia/editorconfig

0.3.101529329103 • Public • Published

Theia - Editorconfig Extension

The extension provides supporting for Editorconfig in Theia.

What is EditorConfig?

EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.

Below is an example .editorconfig file setting end-of-line and indentation styles for JavaScript and JSON files.

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Indentation override for all JS
[*.js]
indent_style = space
indent_size = 4

# Indentation override for JSON files
[*.json]
indent_style = space
indent_size = 2

Check http://EditorConfig.org for more details.

License

Apache-2.0

/@wiptheia/editorconfig/

    Package Sidebar

    Install

    npm i @wiptheia/editorconfig

    Weekly Downloads

    0

    Version

    0.3.101529329103

    License

    Apache-2.0

    Unpacked Size

    57.1 kB

    Total Files

    26

    Last publish

    Collaborators

    • eclipse_che
    • florentbenoit