Coder Social home page Coder Social logo

jlleitschuh / editorconfig-eclipse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ncjones/editorconfig-eclipse

0.0 2.0 0.0 151 KB

EditorConfig plugin for the Eclipse IDE

License: Apache License 2.0

Java 97.92% Shell 0.84% HTML 0.76% CSS 0.48%

editorconfig-eclipse's Introduction

EditorConfig Eclipse

EditorConfig plugin for the Eclipse IDE.

Build Status

Installation

Install from Eclipse Marketplace by dragging the following install link to a running Eclipse workspace:

Install

Usage

No additional configuration is required other than creating .editorconfig files. The plugin applies the editorconfig settings for a file when opened in a supported editor (currently Text, Java, XML and Ant editors).

How It Works

Whenever an Eclipse editor is opened or gains focus, the .editorconfig settings are obtained for that editor's file and applied globally to all supported editor types. How the editorconfig is obtained for any file is described in the EditorConfig docs:

When opening a file, EditorConfig plugins look for a file named
.editorconfig in the directory of the opened file and in every parent
directory. A search for .editorconfig files will stop if the root filepath
is reached or an EditorConfig file with root=true is found.

Feature Support

Feature Support Notes
indent_style Yes tested with Java, XML, Ant and text editors
indent_size Yes tested with Java, XML, Ant and text editors
tab_width No
end_of_line No applies to files created after similar file opened
charset Yes untested
trim_trailing_whitespace No
insert_final_newline No

Compatibility

Eclipse Mars and Luna are supported.

Building

Building requires Java 1.6 and Maven 3.x.

To build, run:

mvn clean install

Note that the build depends on the editorconfig core source via a Git submodule. To initialize the submodule, run:

git submodule init && \
git submodule update

Testing

Functional tests, implemented with JUnit and SwtBot, are located in the editorconfig-eclipse-functional-test directory. To run the tests:

mvn -f editorconfig-eclipse-functional-test/pom.xml integration-test

Installing Locally

Install via the local update site: editorconfig-eclipse-p2/target/repository.

License

Licensed under the Apache License, Version 2.0.

editorconfig-eclipse's People

Contributors

angelozerr avatar hyness avatar johanhammar avatar ncjones 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.