EditorConfig plugin for the Eclipse IDE.
Install from Eclipse Marketplace or using Eclipse update site:
https://editorconfig-eclipse.github.io/repository
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 |
Eclipse Mars and Luna are supported.
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
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
Install via the local update site: editorconfig-eclipse-p2/target/repository
.
Licensed under the Apache License, Version 2.0.