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.
You can download the EAP build from our website get it from the free Toolbox App, or use snaps if you are using Ubuntu.
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?
Ground rules
- 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.