What’s New in PyCharm 2024.1.1

AI Assistant in Community Edition, Endpoints in Search Everywhere, and Navigation and Refactoring Across Notebooks and Scripts

AI Assistant in Community Edition

PyCharm 2024.1.1 introduces AI Assistant in PyCharm Community Edition. To leverage AI Assistant's features in either the Community or the Professional edition, make sure to install the dedicated plugin and have an active JetBrains AI subscription.

Once everything is set up, you can take our in-product onboarding tour to explore AI Assistant’s features, which can enrich your coding experience and make you more productive than ever before.

Improvements to the Endpoints tool window

According to the results of the 2023 Django Developers Survey, 33% of Django developers also use Flask and FastAPI in their projects. To make their work more efficient, PyCharm now groups endpoints by web application.

PyCharm’s Endpoints tool window now recognizes uses of include() in the routing systems of Django projects and displays the endpoint routes.

The Search Everywhere dialog now has a dedicated Endpoints tab. Simply start typing the URL as you remember it, and then select the endpoint you need from the list.

Jupyter Notebook

Navigation and refactoring across notebooks and scripts

This long-awaited feature makes working with notebooks in PyCharm as easy as working with Python files. Find declarations and usages, use the Rename refactoring, and benefit from the full set of available code inspections.

Ability to create gists from Jupyter notebooks

GitHub gists are a very convenient way to share notebooks, and they are now fully supported in PyCharm. To make a gist from a notebook, right-click on its tab in the editor and select Create Gist from the context menu that appears. Alternatively, you can select several files in the Project tool window and share them all at once.

DataFrame statistics and distribution histograms

You can quickly review a DataFrame’s essential statistics directly in its header in Jupyter notebooks and Python scripts. Additionally, histograms are now integrated into the headers, providing an immediate visual overview of the data distribution. This functionality is disabled by default; to enable it, click on the histogram icon in the upper right-hand corner of the DataFrame and choose either the Compact or the Detailed statistics view.

Highlighting for TODO and FIXME comments in Jupyter notebooks

PyCharm now recognizes your TODO and FIXME comments in Jupyter notebooks, highlights them to make them easier to spot, and adds them to the TODO tool window so you can always be aware of what’s next on your list.

AI Assistant: Jupyter notebook cell explanations

AI Assistant can now explain code from Jupyter cells, using the entire notebook as context for better accuracy.

Config file support in the IPython console

In PyCharm, you can now use config files to configure the IPython console automatically. This allows you, for example, to avoid having to import dependencies manually every time you use it.