Tuesday, December 08, 2020

PyDev 8.1.0 released (Python 3.9, Code analysis, f-string quick-fixes)

 PyDev 8.1.0 is now available for download.

As a note, I didn't really create a post on 8.0.1, so, I'm covering some of the features in that version in this blog post too! 😊

Some nice things added: 

  • Python 3.9 is officially supported in PyDev -- definitely a must if you plan on using Python 3.9!
  • There are quick-fixes (Ctrl+1) to convert a string into an f-string (see image below):

Note that even if there's no formatting in the string, with this it's possible to write some string as: "Value is {value}" and then use the quick fix just to add the "f" to the front of the string (which is quite handy if you weren't initially planning to create it as an f-string).

  • When starting the interactive console, it's now possible to save how the interactive console should be initialized (see image below):

Note that it's also possible to change those settings in the interactive console preferences if you want to change them after the initial selection (hint: after the interactive console is created it's possible to use F2 to send a line from the editor for execution to the interactive console for notebook-like evaluation).

Besides this there are many other improvements, such as improved conda activation, rerunning pytest parametrized tests from the PyUnit view, MyPy integration improvements, support for from __future__ import annotations in code analysis and debugger improvements, among many others.. see: https://pydev.org for more details.



Kai said...

Did you forget to update the UpdateSite?

Fabio Zadrozny said...

It seems I really did forget to update the Update Site -- just fixed that (thanks for the heads up).

Adrian said...

I have been tasked with making a contribution to the PyDev Eclipse plugin through bug fixing or adding more functionalities. I do not have an idea of how to go about it and I cannot find bugs to at least try and fix. If anyone can help or offer any advice or guidelines I would really appreciate it.

Fabio Zadrozny said...

Hello Adrian,

Nice. Do you have anything specific you'd like to tackle? There's a bunch of tickets in: https://www.brainwy.com/tracker/PyDev/

If you don't have anything specific I can take a look at what could be interesting there.

You may also want to join the list: https://sourceforge.net/projects/pydev/lists/pydev-code which is suitable for PyDev development questions.

Adrian said...

Thank you for your response. I don't have anything specific and I would appreciate your suggestion.

Fabio Zadrozny said...

Ok... let's do the following, please ask in the list and we'll chat over there -- which is a better place than this blog post ;)

Adrian said...

Alright. I have sent an email to the list.