3 ms·
This editor has interesting tab behaviour. It uses spaces, but some more actions than usual make it act like tabs. Specifically, if you press tab (insert 4 spa
by IshKebab 12y ago
This editor has interesting tab behaviour. It uses spaces, but some more actions than usual make it act like tabs.
Specifically, if you press tab (insert 4 spaces) and then the left arrow, it actually jumps left 4 spaces instead of 1.
Unfortunately it doesn't fully behave like tabs because you can still click inside the indentation which makes selection and cursor positioning harder.
- ewillbefull 12y agoRust convention is for 4-space indentation, not tabs. In fact, in the compiler's own code tabbed indentation fails tests. The way the playpen works is a "best of both worlds" approach I guess.