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

Support reading EditorConfig files #8804

Open
wavexx opened this issue Apr 19, 2019 · 0 comments
Open

Support reading EditorConfig files #8804

wavexx opened this issue Apr 19, 2019 · 0 comments
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)

Comments

@wavexx
Copy link

wavexx commented Apr 19, 2019

It would be great if the editor/IDE supported reading EditorConfig files (see https://editorconfig.org/).

I don't think I need to introduce it, since it is being used in arduino itself ;), but overall EditorConfig state some basic editor parameters such as indentation width, tabs vs spaces and tab width.

It would be great if the IDE supported reading these files and setting whatever it is currently feasible to support. It would make the life of maintainers accepting patches created with the IDE much easier.

@per1234 per1234 added the feature request A request to make an enhancement (not a bug fix) label Apr 20, 2019
@per1234 per1234 added the Component: IDE The Arduino IDE label Apr 4, 2021
MartinHruza added a commit to MartinHruza/gaggiuino that referenced this issue May 4, 2022
LF is the defacto standard since it's used by Mac and Linux and Windows are mostly fine with it (batch files may be the only exception). Until this commit most of the files in this repo used a LF line endings anyway, the only exception were *.ino files which mostly used CRLF with couple of lines with LF. These mixed line endings cause troubles to those using VSCode since it doesn't support it (microsoft/vscode#127) so it's impossible to save a changed file without normalizing its line endings. This commit also introduces .gitattribute and .editorconfig files which will ensure correct formating in the future (strangely Arduino IDE doesn't support the latter one arduino/Arduino#8804).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

2 participants