Monday, September 03, 2018

PyDev 6.5.0 (#region code folding)

PyDev 6.5.0 is now available for download.

There are some nice features and fixes available in this release:
  • #region / #endregion comments can now be used by the code-folding engine.
  • An action to easily switch the default interpreter is now available (default binding: Ctrl+Shift+Alt+I -- note that it must be executed with an opened editor).
  • It's possible to create local imports from global imports (use Ctrl+1 on the name of a given global import and select "Move import to local scope(s)" -- although note that the global import needs to be manually deleted later on).
  • The interactive interpreter now has scroll-lock.
  • The debugger is much more responsive!
See: http://www.pydev.org for more details.

2 comments:

Dave said...

Thank you for the #region/#endregion feature. But it appears to require the comment starting at the left margin. If so, could it be modified to be able to start at the current indentation? If not, I've messed up again, and I'll find it out eventually. Again, thanks.

Fabio Zadrozny said...

You're right, I've just fixed that (see: https://github.com/fabioz/Pydev/commit/bdeeb71d14968fed59617c40f5dd3a1314f0c126).