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

Project-level indentation settings #22

Open
michelf opened this issue Aug 1, 2021 · 3 comments
Open

Project-level indentation settings #22

michelf opened this issue Aug 1, 2021 · 3 comments

Comments

@michelf
Copy link
Owner

michelf commented Aug 1, 2021

The project should set its own indentation settings instead of relying on everyone having the same settings in Xcode, which is quite unrealistic. This will make it easier to contribute.

@nschonni
Copy link

nschonni commented Aug 2, 2021

I'd suggest adding https://editorconfig.org to handle the config

@michelf
Copy link
Owner Author

michelf commented Aug 2, 2021

Xcode has a built-in feature for that: select the project file and open the File inspector and look at the Text settings. That is what I was thinking of using.

I assume .editorconfig would be useful if someone was using another editor. Perhaps it'd also work for setting a tab width in GitHub?

@nschonni
Copy link

nschonni commented Aug 2, 2021

Yes, GitHub will respect the settings when rendering tabs in the code views, and also when using the web editor

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

2 participants