Studio Code Editing Keyboard Shortcuts

Studio keyboard shortcuts help you write and edit code in the SQL, XML, XSLT, or XQuery editors. For a list of keyboard shortcuts go to Help > Editor Quick Help.

Name

Shortcut Key

Description

Shift + Tab Decrease Indent Decreases the indentation of the selected lines
/ Close Markup Tag Completes the closing markup tag (XML; (e.g.</xml>)
Ctrl + / Toggle Comment Toggles whether the selected lines are commented out (XML)
Ctrl + Subtract (Numeric Keypad) Collapse Fold Collapses the fold on the current line (XML)
Ctrl + Add (Numeric Keypad) Expand Fold Expands the fold on the current line (XML)
Ctrl + Divide (Numeric Keypad) Collapse All Folds Collapses all folds in the editor (XML)
Ctrl + Multiply (Numeric Keypad) Expand All Folds Expands all folds in the editor (XML)
Home Start of Line Go to the start of the current line
Shift + Home Select to Start of Line Go to the start of the current line and select text
Ctrl + Home Top of Editor Go to the top of the editor
Ctrl + Shift + Home Select to Top of Editor Go to the top of the editor and select text
End End of Line Go to the end of the current line
Ctrl + End End of Editor Go to the end of the editor
Ctrl + Shift + End Select to End of Editor Go to the end of the editor and select text
Alt + Down Move Lines Down Move the selected lines down
Alt + Up Move Lines Up Move the selected lines up
Ctrl + Z Undo Undoes the last action performed
Ctrl + Y Redo Redoes the last action performed
Ctrl + X Cut Cuts selected text
Ctrl + C Copy Copies selected text
Ctrl + V Paste Pastes selected text
Ctrl + Shift + V Paste Clipboard Displays a popup allowing the user to paste from several recent pasted values
Ctrl + F Find Displays the Find Dialog
Ctrl + R Replace Displays the Find/Replace Dialog
Insert Toggle Mode Toggles between insert and overwrite mode
Ctrl + D Delete Line Deletes the current or selected lines
Ctrl + J Join Line Concatenates the current line with the next line
Ctrl + Enter Complete Word Completes the current word (US-ASCII) based on prior words in the editor with that prefix. Repeatable for earlier words
F2 Next Bookmark Goes to the next bookmarked line
Shift + F2 Prior Bookmark Goes to the prior bookmarked line
Ctrl + F2 Bookmark Current Line Bookmarks the current line
Ctrl + K Next Occurrence Finds the word at the caret position and selects the next occurrence of it
Ctrl + Shift + K Previous Occurrence Finds the word at the caret position and selects the prior occurrence of it
Ctrl + - Toggle Comment Toggles whether the current or selected lines are commented out (SQL and Script editors)
Ctrl + Space Code Complete Provides SQL keywords and functions in a drop list (SQL and Script editors)
Alt + Left Shift Left Shift the line or the selected lines one tab width to left
Alt + Right Shift Right Shift the line or the selected lines one tab width to right
Ctrl + G Go to Line Move the current line to the line number provided by a popup dialog