[IronPython] Using blocks separators instead of indentation
Matt Clinton
mclinton at procard.com
Mon Aug 13 16:54:14 CEST 2007
Ori,
I'm pretty sure there isn't - that's a basic 'feature' of Python itself:
code blocks are defined by whitespace.
(one of many bug-reduction syntax features)
If you're working in VS, you'll often spend a little time highlighting a
block of rows then pulling down Edit - Advanced - Increase/Decrease
Indent
when refactoring.
Other editors (I'm fond of Crimson) make that even easier.
Maybe Dino and Team can / have implement(ed) something special so IP can
recognize blocks defined by curly-braces, but it would be rather
anti-pythonic to do so. Why do you need to?
Cheers,
-- Matt
-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Ori
Sent: Monday, August 13, 2007 12:34 AM
To: users at lists.ironpython.com
Subject: [IronPython] Using blocks separators instead of indentation
Hello,
Is there a way to use code blocks (like { and } in other languages)
instead
of indentation?
Thanks,
Ori
--
View this message in context:
http://www.nabble.com/Using-blocks-separators-instead-of-indentation-tf4
259431.html#a12121490
Sent from the IronPython mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list