7 ms·
I don't actually know of any project which uses 6 or 8 characters per indentation level.
by vertex-four 10y ago
I don't actually know of any project which uses 6 or 8 characters per indentation level.
- andrey_utkin 10y ago8 chars is default tab size. So e.g. "git diff" shows you 8-position tabs. Github (and Bitbucket, etc.) diff visualizer also shows it as 8 positions. Any editor should use 8 by default, too. And, believe me or not my space-loving friends, tab-indented codebases still exist.
- vertex-four 10y agoMy editor definitely puts tabstops at 4. Weird.
- khedoros 10y agoMy first change to any editor is to set tabstops at 4 characters. That's the standard policy at my employer, and I like it for my own projects, as well.