mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 08:48:09 +00:00
Add PyCharm setup instructions to editors documentation (#1533)
## Summary Support for ty was recently added to PyCharm and I want to update ty's documentation accordingly. ## Test Plan n/a --------- Co-authored-by: Carl Meyer <carl@astral.sh>
This commit is contained in:
parent
fdc05df642
commit
cb76a5eac8
1 changed files with 18 additions and 0 deletions
|
|
@ -79,6 +79,24 @@ You can override the `ty` executable Zed uses by setting `lsp.ty.binary`:
|
|||
|
||||
More information in [Zed's documentation](https://zed.dev/docs/languages/python#configure-python-language-servers-in-zed).
|
||||
|
||||
## PyCharm
|
||||
|
||||
Starting with version 2025.3, PyCharm users can enable native ty support in the settings:
|
||||
|
||||
1. Go to **Python | Tools | ty** in the Settings dialog.
|
||||
|
||||
1. Select the **Enable** checkbox.
|
||||
|
||||
1. In the Execution mode setting, select how PyCharm should search for the executable:
|
||||
|
||||
**Interpreter** mode: PyCharm searches for an executable installed in your interpreter. To install the ty package for the selected interpreter, click _Install ty_.
|
||||
|
||||
**Path** mode: PyCharm searches for an executable in `$PATH`. If the executable is not found, you can specify the path by clicking the Browse... icon.
|
||||
|
||||
1. Select which options should be enabled.
|
||||
|
||||
For more information, refer to [PyCharm documentation](https://www.jetbrains.com/help/pycharm/2025.3/lsp-tools.html#ty).
|
||||
|
||||
## Other editors
|
||||
|
||||
ty can be used with any editor that supports the [language server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue