- Notifications
You must be signed in to change notification settings - Fork16
EditorConfig plugin for the Eclipse IDE
License
ncjones/editorconfig-eclipse
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
EditorConfig plugin for the Eclipse IDE.
Install fromEclipse Marketplace by dragging the followinginstall link to a running Eclipse workspace:
No additional configuration is required other than creating .editorconfigfiles. The plugin applies the editorconfig settings for a file when opened in asupported editor (currently Text, Java, XML and Ant editors).
Whenever an Eclipse editor is opened or gains focus, the .editorconfig settingsare obtained for that editor's file and applied globally to all supportededitor types. How the editorconfig is obtained for any file is described in theEditorConfig docs:
When opening a file, EditorConfig plugins look for a file named.editorconfig in the directory of the opened file and in every parentdirectory. A search for .editorconfig files will stop if the root filepathis reached or an EditorConfig file with root=true is found.
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 Gitsubmodule. To initialize the submodule, run:
git submodule init&& \git submodule update
Functional tests, implemented with JUnit and SwtBot, are located in theeditorconfig-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.
About
EditorConfig plugin for the Eclipse IDE
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.