ty extension for Visual Studio CodeA 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:
And, the following experimental features:
UsageOnce installed in Visual Studio Code, ty will automatically execute when you open or edit a Python or Jupyter Notebook file. It's recommended to disable the language server from the Python extension to avoid running two Python language servers
by adding the following setting to your
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 settings 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.13. 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). |