On 02/14/2019, at 13:02, Néstor E. Aguilera <[email protected]
<mailto:[email protected]>> wrote:
> Languages such as python need indentation after a colon so as to start a new
> block, which some editors will do automatically:
>
> def f(x):
> if x > 1:
> while x < 5:
> etc
>
> so I don't think the suggested clipping would be useful in this case.
Hey Néstor,
If you have Prefs-->Editor_Defaults-->Auto_Indent [ON] then BBEdit matches the
current indent level when [Return] is pressed.
It's not hard to add a tab to that to get to the next level of indention.
> Remember that under default settings, the delete key would de-indent one
> "tab": ...
I hate all that and have it turned off, except for tab change indent of the
selection.
I find that quite useful from time to time.
> So perhaps it would be nice to have an automatic indent when you hit return
> after some character, say "{" in C or ":" in python.
If you want it make a formal feature request, or the idea will likely never be
recorded where it counts.
But – you can have this now if you're willing to learn how to script it.
--
Best Regards,
Chris
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.