PyCharm 2021.1.x

Released: Apr 7, 2021

Updates in 2021.1.x

2021.1.3

Updated Jun 30, 2021

Fixes

  • Fixed the problems behind several UI freezes.
  • Fixed the infinite indexing issue.
  • User interface: Ctrl+Shift+Arrow shortcut selects text in a dialog window rather than stretching the window.
  • It is now possible to work with KWallet without errors.
  • Quick documentation: .jpeg and .svg images are rendered correctly.
  • Plugins: disabled plugins that have been updated to the latest version don’t cause a false notification saying a plugin update is required.
  • VCS: Fixed an unexpected closure of the “Compare branch” dialog.
  • Projector: PyCharm doesn’t crash on restart when Projector is used.
  • Python Console: “Run Cell and Select Below” shortcut (Ctrl+Enter) in SciView now moves the caret to the next cell after execution.
  • Django: Code Completion for Django Models now works correctly.
  • Debugger: when the “Attach to Node.js/Chrome” Run/Debug configuration is used, the debugger reconnects automatically upon node restart.
  • Databases: code completion for table synonyms works correctly for databases in MS SQL.

2021.1.2

Updated Jun 2, 2021

Features

  • Added support for the older versions of Oracle DB.
  • Jupyter Notebook:
    • PyCharm now detects if the Jupyter package is not installed for your newly created project and throws a warning (“Jupyter package is not installed”). This happens when you create and open a Jupyter Notebook document.
  • Frontend development:
    • Updated the bundled webpack schema.
    • Added support for several TypeScript 4.3 features:
      • override and the --noImplicitOverride Flag.
      • Support for getting/setting in interfaces/objects.
      • Static Index Signatures.
      • Removing types compatibility check of getter and setter from Type mismatch inspection.

Fixes

  • Frontend development:
    • Fixed a number of issues with the Extract Angular component refactoring.
  • Editing:
    • Fixed the inconsistent behavior with the “Move Statement”. Now you won’t get an exception or several copies of the last line of your selection when applying it.
  • Performance:
    • Fixed issue with considerable slowing down or even IDE hanging while working with Python files after upgrading to PyCharm 2021.1.1.

2021.1.1

Updated Apr 23, 2021

Features

  • Jupyter Notebooks: Autoscroll from and to Source now works in a synchronized manner for the preview and editor panes.
  • Code insight: Code completion for NumPy no longer suggests inappropriate options due to the updated NumPy stubs.
  • Code insight: For the import alias action, only immediate attributes of the corresponding module or package are now suggested after a dot.
  • PyCharm no longer scans the home directory for virtual environments if a custom (preferred) virtualenv directory is deleted. PyCharm will instead switch back to keeping virtual environments inside projects.

Fixes

  • Find in Files: Search is now working well again.
  • Python Console: Disabled the auto-import feature for the Python Console, so code completion should once again work smoothly.
  • Jupyter Notebooks: The preview pane no longer freezes when the computer wakes up from a period of inactivity.

2021.1

Updated Apr 7, 2021

Features

  • Collaborative development - Code With Me connects remote teams in a feature-rich remote collaborative environment. Set the required level of access and invite others to collaborate on your project with you by sharing the link with them. Your peers do not even need to have an IDE of their own installed to collaborate with you. Code With Me includes embedded audio and video calls, along with chat messaging, which will help teams discuss the code, share their knowledge, and cooperate more efficiently.
  • Performance
    • Faster indexing for projects - Added revamped prebuilt indexes for popular Python interpreters that make the standard library indexing in PyCharm much faster.
  • WSL
    • Work directly with WSL projects - You can now work directly with projects located in the WSL filesystem. You can now open any directory in \\wsl$. If the IDE detects a Python file in the directory, it will suggest creating a WSL-based interpreter. It also detects if there is an existing WSL interpreter.
  • Code insight
    • Auto import on module member completion - PyCharm now automatically adds an import statement when you refer to a module or package name in your code and invoke code completion, which provides a list of available module members. Auto-import on code completion is also applied to some popular package name aliases, such as np for NumPy or pd for pandas.
    • Intelligent completion for multiple arguments - PyCharm now recognizes methods that have several parameters with defined arguments.
    • Type suggestions for decorated methods - You can now validate the types of decorated methods based on the types and type hints of their decorators.
    • Further improvements:
      • PyCharm now includes an inspection that highlights http:// protocol usages in strings and offers to change them to https://. You can add URLs to the list of ignored URLs or disable the inspection for the whole project or parts of it.
      • You can now correctly parse mypy # type: ignore comments and suppresses type checker errors in the editor.
      • PyCharm now type checks Cython files. Only numeric types are currently supported.
  • IDE improvements
    • Tool window for Python packages - You can now install a new Python package or browse through all the packages available for download using the new Python Packages tool window, without having to leave the editor.
    • Built-in HTML preview - The new built-in browser preview allows you to preview HTML files quickly. If you make any changes in HTML or if you change the linked CSS and JavaScript files, the preview will update on the fly.
    • Maximize tabs in the split view - Whenever several tabs that split the editor vertically are open, you can double-click either of them to maximize the editor window for that specific tab. To bring the window back to its original size, simply double-click it again.
  • Version Control
    • Configure a profile for pre-commit inspections - Added the ability to choose a code inspection profile before committing changes to VCS.
    • Further improvements:
      • Use Git commit templates to create custom commit messages to suit on your needs. If you define a commit template, the IDE will display the text from it as an initial commit message.
      • Copy your changes to the Shelf while keeping them in the local changes with the Save to Shelf action.
      • Connect PyCharm to your organization in JetBrains Space to view and clone project repositories and to review your teammates’ code.
  • Frontend development
    • Bundled MDN documentation - MDN documentation is now bundled with PyCharm which will help prevent connectivity issues with the MDN website and make in-editor documentation in your HTML, CSS, and JavaScript files display more quickly.
    • Improved support for Stylelint - Inspecting your CSS code with Stylelint is now easier. Hover over a problem in your file or place the caret on it and press Alt+Enter, then select Stylelint: Fix current file. You can also now specify a path to the configuration file under the corresponding field in Preferences/Settings.
    • Selector specificity for CSS - When working with style sheets, you can now check the specificity of your selectors.
  • Databases
    • Order and export selected query - Added the new ORDER BY field which lets you reorganize the table by applying a clause to a database table query. You can use stacked sorting by clicking on a column name while holding the Alt key. You can also now export filtered and ordered queries.
    • Direct editing support for MongoDB - You can now use the UI to change the type of a field or edit data in MongoDB collections. Type changing can be done both in the context menu of the field and in the value editor.