Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EditorConfig plugin for the Eclipse IDE

License

NotificationsYou must be signed in to change notification settings

ncjones/editorconfig-eclipse

Repository files navigation

EditorConfig plugin for the Eclipse IDE.

Build Status

Installation

Install fromEclipse Marketplace by dragging the followinginstall link to a running Eclipse workspace:

Install

Usage

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).

How It Works

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

FeatureSupportNotes
indent_styleYestested with Java, XML, Ant and text editors
indent_sizeYestested with Java, XML, Ant and text editors
tab_widthNo
end_of_lineNoapplies to files created after similar file opened
charsetYesuntested
trim_trailing_whitespaceNo
insert_final_newlineNo

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 Gitsubmodule. To initialize the submodule, run:

git submodule init&& \git submodule update

Testing

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

Installing Locally

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

License

Licensed under the Apache License, Version 2.0.

About

EditorConfig plugin for the Eclipse IDE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5

Languages


[8]ページ先頭

©2009-2025 Movatter.jp