- This topic has 7 replies, 2 voices, and was last updated 1 year ago by
Sebastian.
Author | Posts |
---|---|
alphaprojekt
July 25, 2022 at 8:47 pm
|
Hi hello, MC seems to built on top of ‘ace editor’. Is there somewhere a shortcode reference just for the editor itself? I googled it, but couldn’t find anything. I am asking, cuz recently I pressed ALT + 0 (zero) and it was code-folding. Very interessting for me. Thank you, Roman |
alphaprojekt
July 25, 2022 at 8:54 pm
|
This one isn’t displaying anything : https://ace.c9.io/demo/keyboard_shortcuts.html |
Sebastian
July 26, 2022 at 9:40 am
|
Hey Roman, Thanks for sharing the wiki article. There is a “Beautify code” option in Microthemer (see the 3 dots at the top left of the editor). It doesn’t tap into any native ACE functionality, so any shortcut would have to be added by me. You can see the list of taken Ctrl + Alt + [letter] shortcuts here (or in the Microthemer settings sidebar on the right). I’d be happy to accommodate a keyboard request for beautifying the CSS. Cheers, |
alphaprojekt
July 28, 2022 at 12:49 am
|
Hi Sebastian,
I’d take it. B and C are taken, so what about Ctrl + Alt + F (Format Code) – or any other letter you have in mind? Cheers, Roman |
alphaprojekt
November 24, 2022 at 8:53 pm
|
Hey ho, any news on that? A shortcut would come handy. If its not possible – nor too much work, just drop that request. Thank you! Roman |
Sebastian
November 25, 2022 at 9:49 am
|
Hey, Sorry for not getting back to you. I was probably trying to think of another letter and then got distracted. I feel Ctrl+Alt+F should probably be reserved for searching all MT folders. Looking at the keyboard it might have to be a bit random. Maybe Ctrl+Alt+O for “Organise code”? Cheers, |
alphaprojekt
November 25, 2022 at 12:09 pm
|
Hey, no worries. Thank you!!! Roman |
Sebastian
November 25, 2022 at 3:52 pm
|
OK, it did try Crtl+Alt+L but it seems to clash with a native ACE editor keyboard shortcut and does nothing, whereas Crtl+Alt+O works, so I’ll go with that. It will be included in the next release. Cheers! |