.editorconfig #1046

Closed
TurkeyMan opened this Issue Nov 27, 2015 · 10 comments

Projects

None yet

3 participants

@TurkeyMan

CodeLite doesn't seem to support .editorconfig files (http://editorconfig.org/).
My projects all have comprehensive .editorconfig, and it's making it really hard to use CodeLite, since it keeps ruining the formatting of files.

Most modern editors have either builtin support for .editorconfig, or convenient plugins available.

@eranif
Owner
eranif commented Nov 28, 2015

There are no plans on adding support for .editorconfig files ( never heard of them)
Feel free to implement this and send a pull request

@eranif eranif closed this Nov 28, 2015
@TurkeyMan

Did you look at the website? You'll find a very long list of editors who have heard of them.
I'm surprised you never ran into it, I thought they were almost totally ubiquitous. How do you guarantee people's patches are formatted correctly?

@eranif
Owner
eranif commented Nov 29, 2015

Did you look at the website?

Yes I did.

You'll find a very long list of editors who have heard of them

I saw the list, still never heard of it... sorry... (maybe because I only use CodeLite...)

How do you guarantee people's patches are formatted correctly?

I use Ctrl-I to format the source files to fit my coding style (you can also format an entire project using the CodeFormatter plugin)

@eranif eranif reopened this Nov 29, 2015
@eranif
Owner
eranif commented Nov 29, 2015

I have reopened this issue to see if anyone else is interested in this functionality

@TurkeyMan

I use Ctrl-I to format the source files to fit my coding style (you can also format an entire project using the CodeFormatter plugin)

Cool.

If you work on a variety of projects with different standards, or with many users (who never configure their editors correctly), and want to merge patches without annoying conversation about formatting, then I expect you'll come to find this feature invaluable, as I think most developers using other editors do. Editor support for .editorconfig files just makes a while class of annoying problem go away.

@xenogenesi

+1 for this feature, make easier to work with others

@eranif
Owner
eranif commented Nov 24, 2016

Can anyone of you guys upload a sample of .editorconfig file?
I read the official documentation, but I still would like to examine a real world .editorconfig file

@xenogenesi

Here for example, node's .editorconfig, I've seen it used by some node module (node_modules/).

I use emacs, vim and some other editor, lately codelite!, but beside the editor people use different settings, having a per-project shared setup is great.

@eranif
Owner
eranif commented Nov 24, 2016

Thanks for sharing this file, will have a look

@eranif
Owner
eranif commented Dec 2, 2016

This is now implemented in CodeLite git HEAD

@eranif eranif closed this Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment