Hotkeys

Sanny Builder supports many common shortcuts for the file and text operations (Ctrl+N, Ctrl+Z, etc) as well as some custom ones. Hotkeys marked with * are customizable.

Key/Combo

Operation

Main Menu

F5*

open a file as a script and disassemble

F6*

compile the editor content to a script file

F7*

compile the editor content to a script file and copy it to the game's scripts directory

F8*

run the game for the current edit mode

F10

open the options window

F12

open the documentation

Text

TAB, Shift+TAB

indent the selected text to the left / right (tab)

Ctrl+Alt+A

Ctrl+Alt+D

indent the selected text to the left / right (by one character)

Ctrl+Alt+B

Ctrl+Alt+N

Ctrl+Alt+M

toggle different modes of the text selection: Normal, Columnar (same as selection with pressed Alt), Lines

Ctrl+Shift+U

Ctrl+Shift+L

convert the word to uppercase / lowercase

Ctrl++

increase the text size (zoom in)

Ctrl+-

decrease the text size (zoom out)

Ctrl+T

delete the word under the cursor

Ctrl+Y

delete the line

Ctrl+Shift+Y

clear the line

Ctrl+Q*

comment / uncomment the line

Navigation

Ctrl+Shift+B

jump between brackets: {}, (), <>, []

Ctrl+Up/Down

scroll the page one line up / down

Ctrl+Mouse Wheel Up/Down

page up / down

Ctrl+Shift+0..9

toggle a bookmark on the line

Ctrl+0..9

navigate to line with the bookmark

Ctrl+G*

go to the line

Alt+Right*

navigate to symbol under the cursor (a label, mission or function)

Alt+Left*

navigate back to the previous position (where Navigate to Symbol was called)

Ctrl+Enter

open a file which name is under the cursor (see also relative path priorities)

Code

Ctrl+Space

show the list of classes / class members / models / labels / variables / missions

Ctrl+Shift+Space

show the list of parameters for the current class command

Ctrl+Shift+C*

insert the player's coordinates

Ctrl+Shift+E*

insert the player's z_angle

F1

find an opcode with the word under the cursor (with ignoring of _ and .)

Ctrl+F1

find an opcode with the word under the cursor (without ignoring of _ and .)

F2

use the word under the cursor to expand to the code template with the same name

Ctrl+J

show the list of code templates

Ctrl+M

start/stop recording of a macro (keystroke pressings sequence)

Ctrl+P

replay macro/pause while processing

Ctrl+H*

convert the number under the cursor from decimal to hexadecimal and vice versa

Ctrl+Alt+H*

convert the model name under the cursor to its numeric ID and vice versa

Misc

Ctrl+~

open console

Alt+S

(when the list of models is active) re-sort the list