emielsteegh / vscode-never-nest

MIT License
1 stars 0 forks source link

Never Nest

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Rating

I'm a never nester, and you should be too.

"... if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program."

-- Linus Torvalds

This extension makes it a little easier to avoid deep nesting, by highlighting your errors when you forget. It was inspired by Code Aesthetics' Never Nest Video, which I recommend watching if you're unfamiliar with the concept. Nesting too deep is a common anti-pattern in programming, that makes code less readable and harder to maintain.

👉 You can get here it in the VSCode Marketplace! 🛒

S/O to Code Aesthetics for the inspiration and Hans Raaf's indent rainbow extension for laying the groundwork.

Extension Settings

This extension contributes the following settings:

Known Issues

You can log any other issues here

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Release Notes

See the Changelog for all notable changes to the extension.

1.0.0

Initial release of Never Nest.