The Early Entry Program for PyCharm 2023.2 Is Open!

[ad_1]

Early Entry Program

The Early Entry Program begins as we speak! This program affords you an early glimpse of the brand new options and enhancements anticipated to land within the subsequent model. For those who’re not but acquainted with the EAP idea, take a look at this weblog publish for extra particulars.

Over the following few weeks, be part of us in exploring the most recent additions to PyCharm, and share your suggestions after testing out the brand new options.

The primary PyCharm 2023.2 EAP construct introduces a reworked Python Run/Debug Configurations dialog, higher help for Jinja templates, help for pytest fixture override, together with just a few UI enhancements. 

You possibly can obtain the construct from our web site, get it from the free Toolbox App, or replace to it utilizing snaps should you’re an Ubuntu person.

Obtain PyCharm 2023.2 EAP

Let’s check out what different new options and enhancements can be found to attempt on this construct.

Person expertise

Reworked hamburger menu in the principle toolbar on Home windows and Linux

We’ve refined the habits of the hamburger menu positioned in the principle toolbar for Home windows and Linux. When you click on on the menu icon, the weather now seem horizontally over the toolbar.

As well as, now you can flip this menu right into a separate toolbar by going to View | Look | Most important menu as a Separate Toolbar.

Up to date window controls on macOS 

When utilizing the brand new UI in Full Display mode on macOS, the window controls at the moment are displayed proper in the principle toolbar – not within the floating bar as earlier than.

Reworked Python Run/Debug Configurations dialog

PyCharm 2023.2 will show a reworked Run/Debug Configurations dialog for Python run configurations. The primary focus for us whereas engaged on it was to offer a easy strategy to entry the principle settings. All others, such because the Run with Python Console, Emulate terminal in output console, and Earlier than Launch choices will be discovered beneath the Modify choices menu. 

You possibly can entry the Run/Debug Configurations dialog from the principle menu by deciding on Run | Edit Configurations. Alternatively, you need to use the shortcut:  ^⌥ R on macOS or Alt+Shift+F10 on Home windows, then press 0.

Please attempt the up to date dialog and share your suggestions with us.

Bundled OpenAPI Specs plugin

The OpenAPI Specs plugin shall be bundled with PyCharm 2023.2 Skilled Version. This plugin supplies important performance for internet and microservices improvement. It supplies help for each OpenAPI and Swagger specification information. The primary options embrace validation by JSON Schema, navigation, completion and rename refactoring for URLs, code era with Swagger Codegen and OpenAPI Generator, structural diff motion for specs, URL completion within the HTTP Shopper by specs, and Construction view for OpenAPI information.

You possibly can arrange your OpenAPI or Swagger specs by going to Settings | Languages & Frameworks | OpenAPI Specs.

Enhanced help for Jinja templates

In accordance with its documentation, Jinja templates don’t require any particular file extension, as they’ll generate any text-based format. However generally it’s handy to make use of composite extensions like person.html.jinja. That is extraordinarily helpful for Ansible templates, the place such conventions are used.

In these circumstances, PyCharm 2023.2 will present correct syntax highlighting and code completion for each template language and information language. Among the many acknowledged text-based codecs are .xml, .yaml, .properties, and others. *-playbook.yaml information at the moment are additionally detected as Jinja2 information with YAML information language.

Together with .j2 and .jinja2, PyCharm 2023.2 will routinely acknowledge information with .jinja file extension as Jinja templates and have respective syntax highlighting and code completion.

Testing

Help for fixture override in pytest

For PyCharm 2023.2, we shall be trying into bettering your expertise with pytest. The primary EAP construct introduces higher help for fixture override. For the overridden pytest fixtures, PyCharm 2023.2 will present right kind inference, navigation, and code completion.

PyCharm 2023.2 will resolve the fixtures in the identical manner pytest does. It’ll begin with checking the fixture contained in the check class (if there’s one), then it’ll verify the fixture inside the present file, after that within the import statements, and at last within the nearest conftest.py file.

Please attempt it and share your suggestions beneath this publish or in our problem tracker.

Notable bug fixes

We fastened connectivity points affecting the Python console and debugger whereas working with a WSL interpreter and VPN. [PY-59608]

Dataclasses 

PyCharm now not raises an error if redeclared fields within the dataclass’s subclass observe the mum or dad’s dataclass subject with the default worth. [PY-45381]

PyCharm now acknowledges the ‘kw_only’ notation in dataclasses. [PY-49946]

Python / Debug console

We fastened varied bugs associated to the Python and Debug consoles, together with: 

  • Points with exhibiting Fast Documentation within the Python console. One of many fixes was supplied by an exterior contributor, Daniel Schmidt. [PY-57950], [PY-55889].
  • Points that had been occurring when executing multi-line instructions within the console. [PY-20363], [PY-42035]
  • The Debug console now routinely turns into the lively window when the person’s enter is required within the debugging code. [PY-26762]

These are essentially the most notable updates for this week. To see the total checklist of modifications on this EAP construct, please check with the launch notes.

For those who encounter any bugs whereas working with this construct, please submit a report utilizing our problem tracker. When you’ve got any questions or suggestions, tell us within the feedback beneath or get in contact with our group on Twitter.



[ad_2]

Leave a Comment

Your email address will not be published. Required fields are marked *