Skip to content

Other settings#

Tooltip settings#

These options are not applied retroactively; you need to make an edit to see the effect.

Use editor font#

Used by running mode(s) Default
Command line false

Enable this setting to display tooltips in the editor font.

Add prefix#

Used by running mode(s) Default
Command line false

Enable this setting to prefix tooltips with "Pyright:".

Command-line-mode-specific settings#

Process timeout#

Default Corresponding CLI option
10 seconds N/A

Modify this setting to set a maximum limit (in milliseconds) each process should take before it is forcibly destroyed.

A value of -1 disables the timeout.

Warning

If there is no time limit, the process might run indefinitely in cases of bugs, leading to undesired CPU and RAM usage.

Number of threads#

Default Corresponding CLI option
0 --threads

Modify this setting to paralellize type checking on up to the specified number of threads.

A value of 0 means nothing is passed to the executable.

Warning

The --thread option is only available in Pyright 1.1.371 and later. Modifying it will cause an error for older versions.

Minimum severity level#

Default Corresponding CLI option
Information --level

Modify this setting to set a minimum threshold that only diagnostics whose severity is equal or higher than it will be emitted.

Locale#

Default Corresponding environment variable
Default LC_ALL

Modify this option to make the language server emit messages in different languages.