Hotkeys

Sanny Builder supports standard keyboard shortcuts for the file and text operations (Ctrl+N, Ctrl+Z, etc). There are extra hotkeys to make scripting easier. Some of them are also customizable.

Key/Combo

Operation

Main Menu

F5

open 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 the file to the scripts directory for the current game

F8

run the game for the current edit mode

F10

open the options window

F12

open documentation

Text

TAB, Shift+TAB

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

Ctrl+Alt+A

Ctrl+Alt+D

move the selected text to the left / right (by one symbol)

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

make word uppercase / lowercase

Ctrl+Num+

increase the text size (zoom in)

Ctrl+Num-

decrease the text size (zoom out)

Ctrl+T

delete word

Ctrl+Y

delete line

Ctrl+Shift+Y

clear line

Ctrl+Q

comment / uncomment line

Navigation

Ctrl+Shift+B

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

Ctrl+Shift+Num8

Ctrl+Shift+Num2

scroll the page one line up / down

Ctrl+ScrollUp

Ctrl+ScrollDown

page up / down

Ctrl+Shift+0..9

toggle a bookmark

Ctrl+0..9

jump at the bookmark

Ctrl+G

go to line

Ctrl+Num4

Ctrl+Num6

search the word under the cursor below/above in the code

Ctrl+Num2

jump to the label under the cursor

Ctrl+Num8

return the cursor back to the previous position (before InstaSearch)

Ctrl+Enter

open the 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

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

Ctrl+F1

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

F2

use code snippet

Ctrl+J

show 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 a number under the cursor from decimal to hexadecimal and vice versa

Ctrl+Alt+H

convert a 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