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

Setting Request: Max number of indent levels #491

Open
evilgeniuscreative opened this issue Aug 23, 2023 · 7 comments
Open

Setting Request: Max number of indent levels #491

evilgeniuscreative opened this issue Aug 23, 2023 · 7 comments

Comments

@evilgeniuscreative
Copy link

Hi thank you for writing this great plug-in. Would like to suggest that a maximum number of indent levels be one of the options that we can set, as some teams use that in coding styles.

@cxw42
Copy link
Member

cxw42 commented Aug 26, 2023

Thanks for the idea! Could you provide some examples of editors or other tools that enforce max indent level? How do those tools currently receive their configuration?

Edit Also, what name, values, and interpretation would you suggest?

@evilgeniuscreative
Copy link
Author

Honestly, there don't seem to be any, so this would be the only plugin with that!

@cxw42
Copy link
Member

cxw42 commented Sep 23, 2023

:) so what would an example be, in your editor of choice?

@florianb
Copy link
Member

I think this is more an issue for a linter, isn't it?

@cxw42
Copy link
Member

cxw42 commented Sep 30, 2023

Sure, but an editor could in principle apply it.

@evilgeniuscreative Sorry for being blunt, but we need more information from you if this request is to move forward. Please write down a proposed definition of the property and its values, and a sample .editorconfig file, and post them here. I can't read your mind :) , and without more detail I doubt any of us could write a specification change that accurately reflected what you are asking for. Thanks in advance!

@evilgeniuscreative
Copy link
Author

evilgeniuscreative commented Sep 30, 2023 via email

@cxw42
Copy link
Member

cxw42 commented Oct 1, 2023

Understood --- thanks for the quick reply!

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

No branches or pull requests

3 participants