Write and edit source code

Last modified: 02 June 2023

When you work with code, DataSpell ensures that your work is stress-free. It offers various shortcuts and features to help you add, select, copy, move, edit, fold, find occurrences, and save code.

Use DataSpell editor, the main part of the IDE, to create, read and modify code.

Overview of the editor UI

A Jupyter notebook opened in the editor has its specific UI elements:

  • Jupyter notebook toolbar: provides quick access to the most popular actions. The rest of the notebook specific actions are available in the Cell menu.

  • Code cell: a notebook cell that contains an executable code

  • Cell output: results of the code cell execution; can be presented by a text output, table, or plot.

  • Cell toolbar: a toolbar of the code cell with the most popular commands. By default, cell toolbars are disabled. To enable them, open project Settings (), go to Languages & Frameworks | Jupyter, and select the Show cell toolbar checkbox.

For navigation inside the editor, refer to Editor basics.