ty extension for Visual Studio Code
working with config(with
A Visual Studio Code extension for ty, an extremely fast Python type checker and language server, written in Rust. The extension ships with InstallationInstall this extension from the Visual Studio Marketplace. FeaturesCurrently, the extension supports the following features:
UsageOnce installed in Visual Studio Code, ty will automatically execute when you open or edit a Python or Jupyter Notebook file. The extension automatically disables the language server from the Python
extension
to avoid running two Python language servers. This is done by setting
If you prefer to use ty only for type checking and want to use another language
server for capabilities like hover, auto-completions, etc., you can override
this by explicitly setting
If you don't want to use ty for a specific workspace, disable this extension in VS code. Untrusted WorkspaceThe extension supports untrusted workspace. For untrusted workspaces, the extension always uses the bundled ty executable, ignoring the following settings: SettingsSee the ty editor settings reference for an enumeration of all supported settings. Commands
RequirementsThis extension requires a version of the VSCode Python extension that supports Python 3.8+. ty itself is compatible with Python 3.8 to 3.14. Getting helpSee the troubleshooting guide to get more information on how to debug issues with the extension or the language server. PublisherThis extension is published under the LicenseThe ty extension is licensed under the MIT license (LICENSE). |