PyCharm 2022.2 EAP 2 Is Out!
This second EAP build for PyCharm 2022.2 delivers some interesting features to try out. We added support for several Python PEP’s (language features or syntax) – both long-awaited ones and ones specifically for those that will be working with Python 3.1. We’ve introduced initial support for PyScript, announced at the PyCon US a month ago by Anaconda, so that you can start evaluating PyScript in PyCharm.
Important: EAP builds are not fully tested and might be unstable.
Initial support for PyScript
PyScript is a new framework for running Python code inside a browser. If you can’t wait to try PyScript yourself, you can now use PyScript in PyCharm. PyCharm will recognize Python syntax for code inside <py-script> tags in html files and highlight it accordingly. Your PyScript code and tags (such as <py-env>, <py-repl>) will be also recognized and highlighted. Please try it and share your experience with us!
Python 3.11: Variadic Generics (PEP 646)
PyCharm 2022.2 will provide initial support for variadic generics. Namely, PyCharm will recognize star expressions in index operations (within square brackets), and *args: *Ts in function definitions. If you use a different Python version than 3.11, the IDE will remind you that variadic generics are not yet available. Note that there is a known issue about unresolved reference of TypeVarTuples.
Support for ClassVar type annotations (PEP 526)
This is a long awaited feature! PyCharm 2022.2 will recognise different types of class variables and provide proper code insight for them, including autocompletion, type checking, and inspections that will warn you about incorrect usage of ClassVar type annotations, similar to mypy.
Clickable URLs in JSON and YAML string values
JSON, YAML, and .properties files now feature automatically inserted web references inside values that start with http:// and https://.These links can easily be opened with a single click in a web browser, or you can generate a request in the HTTP client from the Context Actions menu (Alt+Enter / Option+⏎).
Revamped AWS CloudFormation plugin
We’ve reworked the AWS CloudFormation plugin by updating metadata schemas and improving property completion. You can install the updated version of the plugin on IntelliJ IDEA 2022.2 EAP builds from JetBrains Marketplace.
Those are the main updates. For more details, check out the release notes. Please give the new features a try and provide us with your feedback in the comment section below, on Twitter, or using our issue tracker.
Ready to join the EAP?
- EAP builds are free to use and require a valid JetBrains account.
- EAP builds expire 30 days after the build date.
- You can install an EAP build side by side with your stable PyCharm version.
- These builds are not fully tested and can be unstable.
- Your feedback is always welcome. Please use our issue tracker to report any bugs or inconsistencies.
Subscribe to Blog updates
Thanks, we've got you!
PyCharm 2023.2 EAP 5: Black Formatter Integration, Endpoints Tool Window for Django REST Framework
This EAP build includes the Black formatter integration, a new Endpoints tool window for Django REST framework, the Run Anything tool, support for installing dependencies from pyproject.toml, inlay parameter name hints, and much more!
PyCharm 2023.2 EAP 4 Is Out!
The third EAP build brings improvements that include the new AI assistant and support for DevContainers.
PyCharm 2023.2 EAP 3 Is Out!
The third EAP build brings improvements for working with Docker compose and an update to the pytest support.