Python code insight
Code insight is a common name used for Code completion, intention actions, type inference, and other techniques related to the code analysis in JetBrains DataSpell.
The JetBrains DataSpell editor respects highlighting of the keywords, comments, parameters, and so on.
The particular highlighting colors are defined in the Editor | Color Scheme page of the Settings/Preferences dialog.
With new Python versions, JetBrains DataSpell supports more specific types and language structures,for example, Python 3.10 specific pattern matching:
JetBrains DataSpell supports.
As JetBrains DataSpell indexes your whole project on each startup, it allows you to autocomplete any existing entity wherever it is defined.
Navigating to declaration
JetBrains DataSpell allows you to navigate to a location where a particular named code reference has been first declared.
This is done most easily: just put the caret at the symbol in the editor and press Ctrl+B:
Checking regular expressions
If your code contains a regular expression, there is an intention action to check it: just put the caret at the regular expression and press Alt+Enter. The RegExp checker shows up, and you have to type the string. If your string doesn't match, the background is red; if it does - green:
Read this section for details.
Viewing reference documentation
With JetBrains DataSpell, you don’t need to surf the web every time you stumble across some alias, or search your whole application for a method declaration you can’t remember. Just put the caret at a keyword you want to look up, and press Ctrl+Q: