To make your Jupyter experience more pleasant still, we changed the copy/cut and paste behavior for when you copy or cut a cell that has an output while in Command mode. It will remain in Edit mode even after being executed. The same behavior applies when you are editing and decide to run your current cell. In order to make working with Jupyter notebooks a more fluid experience, new cells inserted after you Run Cell and Insert Below now default to Edit mode, so you can start writing code in it right away. Jupyter Support Code cells remain in Edit mode after execution Copy code snippet for MarkdownĬopying and pasting code snippets from Markdown files is also very common, and now you can use the new Copy code snippet to do this, available in Markdown blocks. Now you can just run those commands directly from the file itself, by using the run icon in the gutter. You often find instructions with commands to execute when working with Markdown files, such as in README files, for example. Improved Markdown support Run commands from Markdown files Now, when a dictionary created as a literal or by using the dict constructor is used where TypedDict is expected, P圜harm will display per-key error messages pointing to the individual values that are wrong, missing, or not expected. We also improved the warnings for TypedDict. Doing so became even easier in P圜harm 2022.1 thanks to its new code completion for keys. Code insight Enhanced code completion for TypedDictĭict literals can be used as arguments for functions or to instantiate objects from classes where TypedDict is expected. The new repository will appear on the list of packages in the left-hand side window. Go to the Python Packages tool window, click on the gear icon, click the plus sign in the dialog window, add the repository URL, and then select the Basic HTTP option to enter the required credentials. Now you can configure basic HTTP authentication to access custom package repositories and manage dependencies via P圜harm without switching to the terminal for manual installation. IDE Authentication support for custom package repositories Here is a summary of what’s new in P圜harm 2022.1. In this first release of 2022, we decided to focus on polishing existing features and workflows instead of adding new functionality, especially after our previous release that introduced multiple long-awaited features such as support for Jupyter and Remote Development, respectively.
0 Comments
Leave a Reply. |