Bug 389139 - Support EditorConfig specification
Summary: Support EditorConfig specification
Status: RESOLVED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Proposals and Reviews (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Management Organization CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2012-09-10 03:03 EDT by Hong Xu CLA
Modified: 2018-06-11 09:19 EDT (History)
13 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hong Xu CLA 2012-09-10 03:03:42 EDT
EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readibly and they work nicely with version control systems.


http://editorconfig.org

While EditorConfig has many plugins for many IDE/editors, Eclipse is not supported. But this is really a useful project, which has been used in jQuery, Modernizr, etc. and many other projects (http://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig). Maybe you could consider supporting it?

Thank you!
Comment 1 Dani Megert CLA 2012-09-10 03:46:05 EDT
This would better fit as a separate project at Eclipse.org, under the 'Tools' umbrella.
Comment 2 Hong Xu CLA 2012-09-15 02:59:30 EDT
Could you give more explanations, please? And how should I report it? Thanks!
Comment 3 Dani Megert CLA 2012-09-17 03:16:59 EDT
(In reply to comment #2)
> Could you give more explanations, please? And how should I report it? Thanks!

You would have to find people (maybe EditorConfig developers?) who submit a project proposal to the Eclipse Foundation. See
http://wiki.eclipse.org/Development_Resources/HOWTO/Starting_A_New_Project
for more details.
Comment 4 Hong Xu CLA 2012-10-23 22:18:27 EDT
Sorry for the delayed reply. The thing is, I am one of the developers of EditorConfig. I've tried to develop a plugin for Eclipse, which is very important for us, but I failed. I can't find way to implement the very basic features of an EditorConfig plugin that should have. So, what I wanna do is to find some eclipse guys who is willing to do this project.

EditorConfig is available for many IDEs and editors, and I really don't wanna see Eclipse missing.
Comment 5 Dani Megert CLA 2012-10-24 03:40:41 EDT
(In reply to comment #4)
> Sorry for the delayed reply. The thing is, I am one of the developers of
> EditorConfig. I've tried to develop a plugin for Eclipse, which is very
> important for us, but I failed. I can't find way to implement the very basic
> features of an EditorConfig plugin that should have. So, what I wanna do is
> to find some eclipse guys who is willing to do this project.
> 

You mean for free or pay? I suggest you try to get some interest/track on the eclipse newsgroups (eclipse.proposal or eclipse.foundation). Another alternative could be to ask the EMO (emo (at) eclipse.org) for help on this. Maybe they can connect you to some interested parties.
Comment 6 Wayne Beaton CLA 2012-10-24 08:04:49 EDT
EditorConfig does seem like an interesting idea. 

How big is the consumer audience? A quick Google search on ".editorconfig" brings back a lot of hits. Have you tried to assess your community size?

(In reply to comment #4)
> Sorry for the delayed reply. The thing is, I am one of the developers of
> EditorConfig. I've tried to develop a plugin for Eclipse, which is very
> important for us, but I failed. I can't find way to implement the very basic
> features of an EditorConfig plugin that should have. So, what I wanna do is
> to find some eclipse guys who is willing to do this project.

I'll see if I can find somebody who is interested in contributing to this effort. 

> EditorConfig is available for many IDEs and editors, and I really don't
> wanna see Eclipse missing.

The challenge here is to find some like-minded Eclipse-savvy developers to assist. To manage expectations... the Eclipse Foundation does not actually employ any of the Eclipse committers, and so does not have any resources to direct to the effort. We depend on developers in our extended community to step forward and contribute on efforts that they find interesting (or their employers find interesting).

(In reply to comment #4)
> I can't find way to implement the very basic
> features of an EditorConfig plugin that should have. So, what I wanna do is
> to find some eclipse guys who is willing to do this project.

Where did you get stuck?
Comment 7 Hong Xu CLA 2012-10-25 00:58:42 EDT
Thanks for your response.

(In reply to comment #6)
> EditorConfig does seem like an interesting idea. 
> 
> How big is the consumer audience? A quick Google search on ".editorconfig"
> brings back a lot of hits. Have you tried to assess your community size?
> 
> (In reply to comment #4)
> > Sorry for the delayed reply. The thing is, I am one of the developers of
> > EditorConfig. I've tried to develop a plugin for Eclipse, which is very
> > important for us, but I failed. I can't find way to implement the very basic
> > features of an EditorConfig plugin that should have. So, what I wanna do is
> > to find some eclipse guys who is willing to do this project.
> 
> I'll see if I can find somebody who is interested in contributing to this
> effort. 
> 

Thanks!

> > EditorConfig is available for many IDEs and editors, and I really don't
> > wanna see Eclipse missing.
> 
> The challenge here is to find some like-minded Eclipse-savvy developers to
> assist. To manage expectations... the Eclipse Foundation does not actually
> employ any of the Eclipse committers, and so does not have any resources to
> direct to the effort. We depend on developers in our extended community to
> step forward and contribute on efforts that they find interesting (or their
> employers find interesting).

Yes. I didn't expect any "employee" of the Eclipse foundation to do this job -- I just wish someone in the community can do this. Spending a bunch of time by me can also solve this problem, but we don't have that much time for this. So I think to find someone familiar with Eclipse plugin development is better.

> 
> (In reply to comment #4)
> > I can't find way to implement the very basic
> > features of an EditorConfig plugin that should have. So, what I wanna do is
> > to find some eclipse guys who is willing to do this project.
> 
> Where did you get stuck?

After I read the .editorconfig file, I can't change the settings of the editor. It seems that different editors in Eclipse cannot be done in the same way. Thus we need to develop a plugin for JDT, another for CDT, etc. I don't believe I need to do so, thus I would like to find someone else to do the plugin.
Comment 8 Wayne Beaton CLA 2012-11-06 11:26:13 EST
I'll leave this bug open for a little while longer, but unless somebody steps up to create (and resource) a project, I'll have to close it.
Comment 9 Wayne Beaton CLA 2013-02-20 12:27:57 EST
(In reply to comment #8)
> I'll leave this bug open for a little while longer, but unless somebody
> steps up to create (and resource) a project, I'll have to close it.

It looks like we've been unable to drum up enough interest to move this forward. I'm marking this as WONTFIX. We can reopen if there is interest.
Comment 10 Archimedes Trajano CLA 2013-04-24 07:58:12 EDT
I think you need to develop one per editor type because each of the editors may be loading their preferences differently.

There should still be some common ones.

Another thing a plug-in would have to do is disable the configuration of the editor configuration that's built into the existing editors when the .editorconfig file is present which may not be exposed either.
Comment 11 Hong Xu CLA 2014-06-24 04:45:28 EDT
Just mark here, $100 will be paid if this plugin is developed: https://freedomsponsors.org/core/issue/271/support-eclipse
Comment 12 Thomas Koch CLA 2014-08-30 10:20:30 EDT
@Hong Xu: Have you already started coding? If so please publish a Git repo so that others can continue on your work. This sounds like an interesting project for learning Eclipse plugin development and I'd like to do it myself once I'd find time for it.
Comment 13 Michael Vorburger CLA 2015-06-17 16:59:15 EDT
Just FTR, it looks like this has actually moved since above, and there are currently two under-development Eclipse EditorConfig plugins:

* https://github.com/danielgcf/editorconfig-eclipse
* https://github.com/ncjones/editorconfig-eclipse
Comment 14 Peter Palaga CLA 2018-06-11 09:19:46 EDT
There is a Java parser for .editorconfig files available on Maven Central written by me and Angello Zerr https://github.com/ec4j/ec4j