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 for those that will be working with Python 3.11 and some long-awaited ones. We did our best and created 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. It sounds blazingly interesting, so if you can’t wait to try PyScript yourself, you can now use PyScript in PyCharm, and 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 do 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 your Python version is different from 3.11, the IDE will remind you that variadic generics are not available for you yet.
Support for type annotations of ClassVar (PEP 526)
There is a long awaited feature. PyCharm 2022.2 will recognise types of class variables and provide proper code insight for them: autocompletion, type checking and inspections that will warn you about incorrect usage of type annotations of ClassVar, similar to what mypy does.
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://. You can easily open these links in a web browser with one click, or you can generate a request in the HTTP client from the Context Actions menu (Alt + Enter / Option + ⏎).
Revamped AWS CloudFormation plugin
We have 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 the 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.