vscode-indent-rainbow icon indicating copy to clipboard operation
vscode-indent-rainbow copied to clipboard

Never nester option

Open moolight-seashell opened this issue 1 year ago • 2 comments

add in the options the possibility of defining a "max" indent number above which a specific color (setting) is used.

like the red color used when the indent is not matching 2 or 4 space indent

moolight-seashell avatar Aug 18 '23 07:08 moolight-seashell

What is the use case? I don't need that. Sounds like something a linter should do. Indent-Rainbow is not a linter. The "error functionality" is considered an error by myself.

oderwat avatar Aug 18 '23 09:08 oderwat

my idea is to not enable it by default

the principle is to be able to show over-indentation imediatly without the imperatives and restrictions that a linter would propose,

basically such a system would be just indicative and it would allow you to see over-indentation on the fly and sonner than with a linter or without failing a whole cicd pipline.

Afterwards it is obviously quite far from the main features of indent-rainbow but it would seem to me to be a very good way to do it

moolight-seashell avatar Aug 19 '23 08:08 moolight-seashell