Skip to content

ty

Executable#

The ty executable to be used for all operations.

If it is not provided, RyeCharm will attempt to find one in PATH.

Configuration file#

If specified, this file will be passed to the language server.

This corresponds to the configurationFile language server setting.

Running mode#

The manner in which the executable is invoked.

Default: Disabled

See Running modes for more information.

Enable language services#

Whether to enable language features (e.g., code completion, hover, go to definition).

This corresponds to the disableLanguageServices language server setting.

Default: true

Diagnostics#

Whether diagnostics should be shown.

Default: true

Report syntax errors#

Whether diagnostics for syntax errors should be shown.

This corresponds to the showSyntaxErrors language server setting.

Default: false

Diagnostic mode#

Modify this option to control the number of files for which the language server will analyze and report diagnostics.

This corresponds to the diagnosticMode language server setting.

Default: Open files only

Inlay hints#

Whether inlay hints should be shown.

Default: true

Variable types#

Whether to show the types of variables as inline hints.

This corresponds to the inlayHints.variableTypes language server setting.

Default: true

Call argument names#

Whether to show argument names in call expressions as inline hints.

This corresponds to the inlayHints.callArgumentNames language server setting.

Default: true

Completions#

Whether autocompletions should be offered.

Default: true

Auto-import#

Whether auto-import suggestions should be offered.

This corresponds to the completions.autoImport language server setting.

Default: true

Go to definition#

Whether PyCharm's Go to Declaration and related features should defer to ty.

Default: true

Log level#

The amount of logs the language server will emit.

This corresponds to the logLevel language server setting.

Default: Information

Log file#

The file to which the logs will be written.

This corresponds to the logFile language server setting.