cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ETastenkombination%20zum%20Ausw%C3%A4hlen%2FHervorheben%20des%20Variablennamens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EVor%20der%20%C3%84nderung%20des%20JMP16%20Name()-Parsers%20f%C3%BCr%20Variablennamen%20(Beispiele%20siehe%20unten)%20konnte%20mit%20der%20Tastenkombination%20Strg%2B%5D%20der%20gesamte%20Variablenname%20und%20die%20Begrenzung%20()%20hervorgehoben%2Fausgew%C3%A4hlt%20werden.%20Dies%20war%20sehr%20praktisch%20zum%20Kopieren%2FEinf%C3%BCgen%20von%20Variablennamen%20in%20meinen%20JSL-Code.%20Gibt%20es%20eine%20%C3%A4hnliche%20oder%20neue%20Tastenkombination%2C%20die%20dasselbe%20bewirkt%2C%20jedoch%20f%C3%BCr%20den%20neu%20erstellten%20Variablennamen%3F%20Das%20hei%C3%9Ft%2C%20die%20neu%20erstellten%20Variablennamen%20hervorzuheben%2Fauszuw%C3%A4hlen%2C%20die%20entweder%20durch%20Anf%C3%BChrungszeichen%20oder%20durch%20das%20f%C3%BChrende%20Anf%C3%BChrungszeichen%20und%20das%20nachfolgende%20%E2%80%9En%E2%80%9C%20begrenzt%20sind%3F%20Hat%20jemand%20Vorschl%C3%A4ge%2C%20wie%20dies%20erreicht%20werden%20kann%2C%20da%20keine%20Tastenkombination%20vorhanden%20ist%3F%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%22taxable%20income(%202011%20)%22n%20%3D%20456000%3B%0Atax%20%3D%20.25%3B%0APrint(%20tax%20*%20%22taxable%20income(%202011%20)%22n)%20%3B%0A%2F%2F114000%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22terapin_1-1719423985775.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F65594i3C541DBB0F77F43D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22terapin_1-1719423985775.png%22%20alt%3D%22terapin_1-1719423985775.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-768704%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-769685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Tastenkombination%20zum%20Ausw%C3%A4hlen%2FHervorheben%20des%20Variablennamens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-769685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20glaube%20nicht%2C%20dass%20das%20m%C3%B6glich%20ist.%20Sie%20k%C3%B6nnten%20hierf%C3%BCr%20einen%20Wunschlisteneintrag%20erstellen.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EIch%20verwende%20solche%20Variablennamen%20normalerweise%20nicht%2C%20aber%20um%20die%20Auswahl%20etwas%20zu%20beschleunigen%2C%20k%C3%B6nnen%20Sie%20die%20Kombination%20Strg%2BUmschalt%2BPfeiltaste%20links%2Frechts%20(und%20Umschalt%20%2B%20Ende%2FPos1%20%2B%20Strg%20%2B%20Pfeiltaste%20links%2Frechts)%20verwenden.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
terapin
Level VI

Shortcut to select/highlight variable name

Before the JMP16 Name() parser change for variable names (examples shown below), the Ctl+ ] keyboard shortcut would highlight/select the entire variable name and the bounding ().  This was very convenient for copying/pasting variable names in my JSL code.  Does a similar or new keyboard shortcut exist that does the same thing but for the newly constructed variable name?  That is, highlight/select the newly constructed variable names bounded by either the quotes or the leading quote and trailing "n?  In the absence of a keyboard shortcut, does anyone have any suggestions for how to accomplish this?

 

"taxable income( 2011 )"n = 456000;
tax = .25;
Print( tax * "taxable income( 2011 )"n) ;
//114000

 

 

terapin_1-1719423985775.png

 

1 REPLY 1
jthi
Super User

Re: Shortcut to select/highlight variable name

I don't think this is possible. You could create a wish list item for this. 

 

I don't generally use variable names like that but to make the selection a bit faster you can use combination of Ctrl+Shift+Left/Right arrow (and Shift + End/Home + Ctrl + Left/Right Arrow).

-Jarmo

Recommended Articles