Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.editorconfig #1046

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

.editorconfig #1046

TurkeyMan opened this issue Nov 27, 2015 · 10 comments

Comments

@TurkeyMan
Copy link

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
Copy link
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 as completed Nov 28, 2015
@TurkeyMan
Copy link
Author

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
Copy link
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
Copy link
Owner

eranif commented Nov 29, 2015

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

@TurkeyMan
Copy link
Author

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
Copy link

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

@eranif
Copy link
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
Copy link

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
Copy link
Owner

eranif commented Nov 24, 2016

Thanks for sharing this file, will have a look

@eranif
Copy link
Owner

eranif commented Dec 2, 2016

This is now implemented in CodeLite git HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants