Popular recipes by Raymond Butcher http://code.activestate.com/recipes/users/4181141/2012-03-09T19:28:31-08:00ActiveState Code RecipesKomodo Macro: stop leaving indented blank lines when you press enter (JavaScript) 2012-03-09T19:28:31-08:00Raymond Butcherhttp://code.activestate.com/recipes/users/4181141/http://code.activestate.com/recipes/578068-komodo-macro-stop-leaving-indented-blank-lines-whe/ <p style="color: grey"> JavaScript recipe 578068 by <a href="/recipes/users/4181141/">Raymond Butcher</a> (<a href="/recipes/tags/komodo/">komodo</a>, <a href="/recipes/tags/macro/">macro</a>). </p> <p>When your cursor is at the end of an indented blank line, and you press the enter key, this macro will catch that keypress and insert an empty new line above the current line. This pushes your indented line down, and you can keep coding as normal. It is quite seamless; the only difference is that you have not left any whitespace in your wake.</p> <p>This makes it easier to follow the Python PEP-8 style guide, but it's not limited to Python code.</p>