[Bf-committers] Text editor: "tab as space" as default? do we really need to push PEP8 that way?

Campbell Barton ideasman42 at gmail.com
Fri Mar 5 09:16:47 CET 2010


for consistency we are following pep8, to match other python projects.

agree backspace should also remove indentation, but this is what other
editors do (SciTE for example), so we can do it also.

On Fri, Mar 5, 2010 at 8:54 AM, Mike Pan <mike.c.pan at gmail.com> wrote:
> Personally I strongly prefer tabs over spaces, for simplicity's sake.  (a
> single tab is much faster than multiple spaces, and is more visible for
> indentation)
>
> And for consistency's sake, I think Blender should always defaults to what
> most people comes to expect from a code editor, which means tabs are
> inserted as tabs, and not converted automatically to x number of spaces.
>
> When someone hits tab 3 times, and then hit backspace 2 times, there should
> be exactly 1 tab left (and not 2 tabs and 2 spaces), making the code editor
> do anything else fancy is just confusing to users.
>
> -mike
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list