Environment autoconfiguration for your imported or cloned projects, ‘Search Everywhere’ to find Git commits, Create a React component from usage, and a new Welcome screen for faster initial setup.
If you are cloning or importing a project from the repo with a requirements.txt, setup.py, environment.yml, or pipfile inside it, PyCharm will set up your Python environment for you.
Search Everywhere now also looks for your Git commits. Press Shift twice to open Search Everywhere and start searching. You can even use the search dialog to find the answers to math calculations.
PyCharm’s Welcome screen has been redesigned. The initial setup wizard has been replaced with a quick-access screen containing four pages: ‘Projects’, for managing your projects; ‘Customize’, for setting up the IDE interface; ‘Plugins’, for plugin installation; and ‘Learn PyCharm’, for access to learning resources.
You can now invert “if” statements: go to the context menu for “if”, choose Show Context Actions, and then select Invert ‘if’ condition. The branches will switch their positions, but the semantics will stay the same. This feature works for all “if” statements without “elif” branches. The action understands control flow, and handles early return.
This was a community contribution.
If you want to have several tabs open while working on a project, you can now drag and drop file tabs to split the editor either horizontally or vertically. We’ve also introduced the Open in Right Split action, which splits the editor vertically upon opening your file. You can invoke this action from the Project view or other navigation popups, such as Recent Files, Search Everywhere, and the navigation bar.
Starting from Python 3.10, using type aliases will no longer interfere with code insight. The new TypeAlias annotation will be supported by PyCharm as soon as it is released in Python, and we are proud to note that this implementation had direct contribution from our own PyCharm developers.
You can now stage changes directly from PyCharm. To enable this feature, go to Preferences / Settings | Version Control | Git and tick the Enable staging area checkbox. Click the + icon to add your files to the new Staged node in the Commit view. You can also stage changes right from the gutter or in the Diff view.
SciView now allows selecting and copying values, as well as sorting and filtering for columns. You can open and visually compare two datasets directly in the editor pane, and export your processed data to the CSV format.
You can customize the Markdown format in Preferences / Settings | Editor | Code Style | Markdown. Press Ctrl+Alt+Lto apply the formatting. The Auto-Scroll Preview button in the top right-hand corner of the editor allows you to sync the scrolling of the preview pane with the editor.
Now when you press Alt+Enter, the IDE invokes suggestions to correct your grammar and spelling. What’s more, we’ve started using a new version of the LanguageTool grammar checking engine, which improves text reviews in English and adds support for more than 10 additional languages.
Have an unresolved React component in your code? Place the caret at its location, press Alt+Enter, and select Create class / function component from the list – the IDE will create the relevant code construct for you.
You can now export an HTTP request to cURL. To do so, press Alt+Enter in the HTTP request editor and select Convert to cURL and copy to clipboard. This conversion works in both directions, from cURL to an HTTP request and from an HTTP request to cURL.
PyCharm can now help you work with Tailwind CSS more productively. Install the Tailwind CSS plugin from Preferences / Settings | Plugins, and the IDE will autocomplete your Tailwind classes, show you a preview of the resulting CSS on mouseover, and support the customizations you make using tailwind.config.js files.
PyCharm 2020.3 supports Code With Me (EAP), a new service from JetBrains for collaborative development and pair programming. Code With Me enables you to share the project you currently have open in your IDE with others and work on it together in real time. You can download it today from the plugin marketplace (Preferences / Settings | Plugins | Marketplace). Check out these posts to learn more about Code With Me.
Please note that features marked Pro only are supported only in PyCharm Professional Edition.