DataSpell 2023.1 Help

Basic editing

Function

Shortcut

Use this shortcut to...

Enter

Enter

Depending on the context:

  • In a lookup list: select an item.

  • In the editor: enter a new line and set the caret at its beginning.

Tab

Tab

In the editor:

  • With selection: indent selected lines.

  • Without selection: insert a tab symbol (or corresponding number of space characters).

In a lookup list:

  • No code after the caret: select an item.

  • Some code after the caret: select an item and substitute the code after the caret with it.

Delete

Delete

Depending on the context:

  • In the editor: delete selected symbol/block.

  • In a usage view: exclude a selected item.

  • In other views: remove selected items.

Backspace

Backspace

Delete a character to the left of the caret.

Undo

Control+Z

Undo last operation.

Redo

Control+Shift+Z

Redo last undone operation.

Cut

Control+X

Cut a current line or a selected code block to the Clipboard.

Copy

Control+C

Copy a current line or a selected code block to the Clipboard.

Paste

Control+V

Paste from the Clipboard to the caret location.

Paste from History

Control+Shift+V

Paste selected entry from the Clipboard to the caret location.

Up

ArrowUp

Move the caret one line up.

Up with Selection

Shift+ArrowUp

Move the caret one line up selecting the text.

Down

ArrowDown

Move the caret one line down.

Down with Selection

Shift+ArrowDown

Move the caret one line down selecting the text.

Left

ArrowLeft

Move the caret one character to the left.

Left with Selection

Shift+ArrowLeft

Move the caret one character to the left selecting the text.

Right

ArrowRight

Move the caret one character to the right.

Right with Selection

Shift+ArrowRight

Move the caret one character to the right selecting the text.

Go to Page Bottom

Control+PageDown

Move the caret down to the page bottom.

Go to Page Bottom with Selection

Control+Shift+PageDown

Move the caret down to the page bottom, selecting the text.

Go to Page Top

Control+PageUp

Move the caret up to the page top.

Go to Page Top with Selection

Control+Shift+PageUp

Move the caret up to the page bottom, selecting the text.

Page Down

PageDown

Move the caret one page down.

Page Down with Selection

Shift+PageDown

Move the caret one page down, selecting the text.

Page Up

PageUp

Move the caret one page up.

Page Up with Selection

Shift+PageUp

Move the caret one page up, selecting the text.

Scroll Down

Control+ArrowDown

Scroll the text one line down.

Scroll to Center

Control+M

Scroll a line at caret to the center of the screen.

Scroll Up

Control+ArrowUp

Scroll the text one line up.

Move to Line End

End

Move the caret to the end of line.

Move to Line End with Selection

Shift+End

Move the caret to the end of line, selecting the text.

Move to Line Start

Home

Move the caret to the beginning of line.

Move to Line Start with Selection

Shift+Home

Move the caret to the beginning of line, selecting the text.

Move to Next Word

Control+ArrowRight

Move the caret to the next word.

Move to Next Word with Selection

Control+Shift+ArrowRight

Move the caret to the next word, selecting it.

Move to Previous Word

Control+ArrowLeft

Move the caret to the previous word.

Move to Previous Word with Selection

Control+Shift+ArrowLeft

Move the caret to the previous word, selecting it.

Move to Text End

Control+End

Move the caret to the end of text.

Move to Text End with Selection

Control+Shift+End

Move the caret to the end of text, selecting it.

Move to Text Start

Control+Home

Move the caret to the beginning of text.

Move to Text Start with Selection.

Control+Shift+Home

Move the caret to the beginning of text, selecting it.

Select All

Control+A

Select the entire text opened in the editor.

Delete Line at Caret

Control+Y

Delete the line where the caret is currently located.

Delete to Word End

Control+Delete

Delete the word starting from the current caret location up to the word end.

Delete to Word Start

Control+Backspace

Delete the word starting from the current caret location up to the word start.

Toggle Insert/Overwrite

Insert

Toggle insert/overwrite modes.

Duplicate Line or Block

Control+D

Duplicate selected block or the line at the caret.

Toggle Case

Control+Shift+U

Toggle case of the selected text block.

Move to Code Block End

Control+]

Move the caret to the current code block end, highlighting the block limits.

Move to Code Block End with Selection

Control+Shift+]

Move the caret to the current code block end, selecting the code beginning from the initial caret location.

Move to Code Block Start

Control+[

Move the caret to the current code block start, highlighting the block limits.

Move to Code Block Start with Selection

Control+Shift+[

Move the caret to the current code block start, selecting the code beginning from the initial caret location.

Start New Line

Shift+Enter

Start a new line after the current one positioning the caret in accordance with the current indentation level.

Start New Line Before Current One

Control+Alt+Enter

Start a new line before the current one.

Join Lines

Control+Shift+J

Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.

Split Line

Control+Enter

Split the selected line at the point where the caret is located, leaving the caret at the end of the first line.

Select Word at Caret

Control+W

Select successively increasing code blocks starting from the current caret location.

Unselect Word at Caret

Control+Shift+W

Remove sequentially the selection made by the action.

Indent Selection

Tab

Move the selected block to the next indentation level.

Unindent Selection

Shift+Tab

Move the selected block to the previous indentation level.

Auto-Indent Lines

Control+Alt+I

Indent the current line or selected block according to the Code Style settings.

Last modified: 18 January 2023