Ace Editor Short Cuts (including To Upper/Lower)?

S1mon
S1mon Member Posts: 4,638 PRO
edited July 2022 in FeatureScript
I know that in general, the FeatureScript text editor is based on Ace. I also know that most of the keyboard commands work. However, some are overridden by standard Onshape things. In this case, I wanted to use the "to upper case" command (normally ctrl-U), but it triggers the contact support pop-up.

Is there an official list of editor commands? Does someone know if there's a way to trigger "to upper case"?

Side note: are enums all caps by convention? Is this written somewhere in the standard documentation?

Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Tagged:

Best Answer

Answers

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,126 image
    Answer ✓
    I use them a lot so I did a list a while back https://forum.onshape.com/discussion/12424/feature-studio-keyboard-shortcuts

    Enum values are in Caps but name is in Title case such as UIHint.ALWAYS_HIDDEN
    Senior Director, Technical Services, EMEA
  • S1mon
    S1mon Member Posts: 4,638 PRO
    Thanks @NeilCooke

    You answered most of my questions, but didn’t cover “to uppercase”. Should I assume that this is just not available in Onshape?

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,126 image
    Correct. I went through every Ace shortcut to see which ones work. 
    Senior Director, Technical Services, EMEA