That link has great tips. Also, I like ctrl-alt-plus and ctrl-alt-minus for expanding and collapsing code blocks. (I'm using Enterprise Guide). I built that into a recorded macro I mapped to ctrl-alt-F3. I call the macro "Super Run". The macro collapses the section of code I'm in, goes to the start of the line and selects that line of code. After that, I can just hit F3 to run the selected code block. I like the record macro feature for other things. I have some macro programs in my autoexec file that compile on opening a SAS session. I have the actual typing out the "%macro_name(<parameter>)" where paramater is a value copied on my clipboard. So the keyboard shortcut writes that out, pastes in the value on my clipboard into the parameter, then selects the line of code. So the execution becomes "keyboard shortcut to run macro" then F3 to run. So, not only am I not typing out the actual code that's running, since it is a precompiled macro, I'm not even typing out the name of the macro to get it set up so I can run it. Hope these ideas are helpful. Good luck!
... View more