editorconfig-netbeans

A NetBeans IDE plugin supporting the EditorConfig standard.

Github星跟踪图

EditorConfig NetBeans Plugin

A NetBeans IDE plugin supporting the EditorConfig standard.

  • Supports NetBeans 8 and above
  • Requires Java 7+

Features

Plugin Screenshot

EditorConfig Project

EditorConfig makes it easy to maintain the correct coding style when switching between different text editors and between different projects. The EditorConfig project maintains a file format and plugins for various text editors which allow this file format to be read and used by those editors. For information on the file format and supported text editors, see the EditorConfig website.

Example file

.editorconfig

# top-most EditorConfig file
root = true

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

# 4 space indentation
[*.py]
indent_style = space
indent_size = 4

# Tab indentation (no size specified)
[*.js]
indent_style = tab

# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2

Supported properties

:construction: 1. charset

Values: latin1, utf-8, utf-8-bom, utf-16be, utf-16le

:white_check_mark: 2. end_of_line

Values: lf, cr, crlf

:white_check_mark: 3. indent_size

Values: [number], tab

Special case:
Indent_size can be set to tab if indent_size is unspecified and indent_style is set to tab.
When set to tab, the value of tab_width (if specified) will be used.

Read our notes on Indentation.

:white_check_mark: 4. indent_style

Values: space, tab

Read our notes on Indentation.

:white_check_mark: 5. insert_final_newline

Values: false, true

:white_check_mark: 6. tab_width

Values: [number]

Special case:
Defaults to the value of indent_size and doesn't usually need to be specified.

Read our notes on Indentation.

:white_check_mark: 7. trim_trailing_whitespace

Values: false, true

How to use

  • A project must be closed and opened after the plugin is installed, to setup hooks for .editorconfig files
  • Rules are applied when a file (which is matched by a rule) is saved

Build

Instructions

mvn clean install

Releases

Status

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributors

, , ,
:---:, :---:, :---:, :---:
Benny Neugebauer, Michael Koppen, Junichi Yamamoto, Emily Mabrey

Special Credits

主要指标

概览
名称与所有者welovecoding/editorconfig-netbeans
主编程语言Java
编程语言Java (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2014-10-04 23:02:09
推送于2020-07-25 06:55:23
最后一次提交2020-07-25 08:55:22
发布数16
最新版本名称v0.10.4 (发布于 )
第一版名称editorconfig-0.0.1 (发布于 2015-02-13 00:04:51)
用户参与
星数124
关注者数8
派生数22
提交数480
已启用问题?
问题数95
打开的问题数23
拉请求数24
打开的拉请求数0
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?