[prev in list] [next in list] [prev in thread] [next in thread]
List: sas-l
Subject: SAS-L Classic Editor Usefull function keys for comments
From: Roger Deangelis <roger_deangelis () COMCAST ! NET>
Date: 2023-06-08 15:58:53
Message-ID: 3517475980447436.WA.rogerdeangeliscomcast.net () listserv ! uga ! edu
[Download RAW message or body]
%let pgm=utl-sas-classic-editor-function-keys-for-comments;
sas classic editor function keys for comments
github
https://tinyurl.com/y7bwjph5
https://github.com/rogerjdeangelis/utl-sas-classic-editor-function-keys-for-comments
I recently added function key 'ctl j' along with my tride and true F2 for box \
comments
I have an 11 button mouse, Logitech G502 Hero ($40), with about 30 mouse actions.
To get exploded letters, I type 'xpy box comments' on the command line. SAS drops \
down and calls python, which puts the expanded letters into the sas paste buffer.
Useful for identifying comments ('F2' and 'cnt j')
_ _ _ _ _ \
_ | (_)_ __ (_)_ __ __ _ _ _ _ __ ___ _ __ ___ _ __ ___ ___ _ __ | |_ | \
(_)_ __ ___ ___ | | | `_ \| | `_ \ / _` | | | | | `_ \ / __| `_ ` _ \| `_ ` _ \ \
/ _ \ `_ \| __| | | | `_ \ / _ \/ __| | | | | | | | | | | (_| | | |_| | |_) | | (__| \
| | | | | | | | | | __/ | | | |_ | | | | | | __/\__ \ |_|_|_| |_|_|_| |_|\__, | \
\__,_| .__/ \___|_| |_| |_|_| |_| |_|\___|_| |_|\__| |_|_|_| |_|\___||___/ |___/ \
|_|
LINING UP SINGLE LINE COMMENTS
cntl J ~/*---- \
----*/
Just hit 'ctl j' at cursor.
_ _
> > __ _____ __ ___ ___ _ __ ___ _ __ ___ ___ _ __ | |_ ___
> `_ \ / _ \ \/ / / __/ _ \| `_ ` _ \| `_ ` _ \ / _ \ `_ \| __/ __|
> > _) | (_) > < | (_| (_) | | | | | | | | | | | __/ | | | |_\__ \
> _.__/ \___/_/\_\ \___\___/|_| |_| |_|_| |_| |_|\___|_| |_|\__|___/
BOX COMMENT
F2 "home;copy cmt;
Usage
Editor Prefix area (only the classic editor has a clean command line that supports \
sas scripting (EE does not) COMMAND ===>
000001
000002
000003
If I put 'A' in the prefix area
000001
00A002
000003
and hit f2 or my second mouse button(faster because my hand tends to be over the \
mouse), this appears on and after line 2
Note prior to hitting the function key or the mouse button you need to
create the box comment below and issue command 'save cmt'. This permanently
saves the box in your profile. You only have to do this once for eternity.
I use an open comment because of all copy/paste and insetions.
When comment is complete I cute '*/ ' and paste on the end.
/* /*************************************************************************************************************************
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*
*/ /*************************************************************************************************************************
/* _
___ _ __ __| |
/ _ \ `_ \ / _` |
> __/ | | | (_| |
\___|_| |_|\__,_|
*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic