# Code intelligence

> Code intelligence - Describes the code intelligence capabilities available for code cells in
> DataRobot Notebooks.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-04-24T16:03:56.764098+00:00` (UTC).

## Primary page

- [Code intelligence](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-code-int.html): Full documentation for this topic (HTML).

## Sections on this page

- [Code snippets](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-code-int.html#code-snippets): In-page section heading.
- [Docstrings reference](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-code-int.html#docstrings-reference): In-page section heading.
- [Autocomplete](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-code-int.html#autocomplete): In-page section heading.
- [Syntax highlighting](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-code-int.html#syntax-highlighting): In-page section heading.

## Related documentation

- [NextGen UI documentation](https://docs.datarobot.com/en/docs/workbench/index.html): Linked from this page.
- [DataRobot Notebooks](https://docs.datarobot.com/en/docs/workbench/wb-notebook/index.html): Linked from this page.
- [Notebook coding experience](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/index.html): Linked from this page.
- [editing code](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-action-nb.html#modal-editor): Linked from this page.
- [configure and start the notebook environment](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-env-nb.html): Linked from this page.

## Documentation content

# Code intelligence

This page describes the coding intelligence features included in the code cells of DataRobot Notebooks.

### Code snippets

DataRobot provides a set of pre-defined code snippets, inserted as cells in a notebook, for commonly used methods in the DataRobot API as well as other data science tasks. These include connecting to external data sources, deploying a model, creating a model factory, and more. Access code snippets by selecting the code icon in the sidebar.

### Docstrings reference

When using a specific method or class, use the `Shift + Tab` keyboard shortcut directly from the code editor to query docstrings. Additional documentation appears as an overlay.

### Autocomplete

When [editing code](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-action-nb.html#modal-editor), you can autocomplete lines using the Tab key. To activate autocompletion, you must first [configure and start the notebook environment](https://docs.datarobot.com/en/docs/workbench/wb-notebook/wb-code-nb/wb-env-nb.html).

### Syntax highlighting

When writing code in code cells, DataRobot highlights syntax for the language set in the notebook environment. Below is a sample of syntax highlighting for Python:
