LAN2LAN Technobabble
Corporate Blogs
One of the things that I found initially challenging about the new LotusScript Eclipse editor is that it appeared to drive a coach and horses through my old trick of matching up opening and closing statements by checking the column number of the code. For example if you had a series of nested "ifs" containing a lot of complex, badly commented code you could check which "end if" matched which "if" by positioning your cursor and checking the column number on the lower RHS of the designer client. However the new designer doesn't always line things up correctly, particularly if you are copying and pasting code about.

So I discovered this speed key: CTRL+I  (that's a capital 'eye'), which is the speed key for Source -> Correct Indentation.

Now I save the code (just in case!) and then CTRL+A followed by CTRL+I  - and voila! My code is then nicely indented.

Would be nice to be able to expand/collapse nested statements though. Perhaps for the future?

Comments (0) Melissa Snell July 5th, 2010 13:42:31