Wing IDE 4.0 is currently available as a beta release, version 4.0 beta5.
The major features added in Wing IDE 4.0 are: (1) find points of use, (2) refactoring, (3) a diff/merge tool, (4) project setup and debugging support for Django, and (5) special support for matplotlib to keep plots interactive.
Wing IDE 4.0 also adds support for Python version 3.2, auto-highlighting of occurrences of the current selection in the editor, improved Perspectives, updated French localization, and many other minor features, bug fixes, and improvements.
Find Points of Use and Refactoring
Wing IDE now supports finding all points of use of a selected Python source symbol, within your current project. This functionality is accessed with Find Points of Use in the Source menu and editor context menu (right-click).
Wing can also perform refactoring operations, which are a way of restructuring code without altering its functionality. The operations currently supported are: (1) rename a symbol, (2) extract to method or function, and (3) move a symbol. Refactoring operations are available in the Refactor menu and by right clicking on the editor.
The diff/merge viewer can be accessed from the new magnifying glass icon in the toolbar, and from the editor and project view context menus.
Diff/merge allows comparing two selected files or directories, two visible files, the modified buffer to the corresponding disk file, and a file or directory to the corresponding revision in the source code control repository (for Subversion, Mercurial, Bazaar, Git, Perforce, and CVS). Use the expanded toolbar icons to move up and down through changes or to merge changes from one file into another. Multiple diff/merge sessions can be active at the same time and accessed from the magnifying glass drop down menu in the toolbar.
During a diff/merge session scrolling of the two editors can be locked together, and there is an option to ignore changes that consist only of white space.
Wing IDE 4.0's support for Django includes:
- Support for setting breakpoints in, stepping through, and viewing data in Django template files
- Better syntax highlighting for Django template files
- Improved auto-completion in Django templates, especially when the debugger is active and paused or at a breakpoint and the Django template is active on the call stack
- A Django plugin (in Wing IDE Professional only) that makes it easy to create a new Django project, set up a Wing IDE project to work with an existing Django project, and takes care of routine tasks
- Running Django unit tests in the Testing tool
If you already have a Wing IDE project that you are using with Django, verify that the Django menu appears in the menu bar and then select Configure Project for Django from that menu.
If you do not already have a Wing IDE project set up, refer to the the "Using Wing IDE with Django" How-To in Wing's help menu.
For more information on the new Django support, see the document Using Wing IDE with Django under How-Tos in Wing IDE's Help menu.
Wing IDE 4.0's support for matplotlib allows for interactive display of plots while typing in the Python Shell and Debug Probe and avoids blocking when show() is called. This should work with the TkAgg, GTKAgg, WXAgg (for wxPython 2.5+) and Qt4Agg backends.
For more information on the new matplotlib support, see the document Using Wing IDE with matplotlib under How-Tos in Wing IDE's Help menu.
For more information on Wing IDE 4.0's features, please refer to the integrated documentation in the Help menu. Note that the documentation hosted on our website is for the latest stable release and not for this beta release.
While the Wingware development team uses the Wing IDE 4.0 code base daily, this is beta quality software and you probably will encounter bugs. To report bugs, please submit a bug report from the Help menu in Wing IDE, or email us at support at wingware dot com
Please do not post bug reports to the wingide-users mailing list since most users there are not working with the beta.
- Running multiple instances of Wing 4.0beta5 can lead to problems with source analysis features. A work-around is to clear the cache from the Source Analysis preferences and stick to one instance.
- Wing 4.0beta5 may be slow at startup or when switching projects, until the source analysis cache is established. Processing status is displayed in the lower left of the IDE window. We are working on optimizing this process.
- The RPMs for beta5 are not signed due to a problem on the build machine. On a system that uses the yum package manager, they can be installed with sudo rpm -Uhv <package>.
- Starting with beta5, the Linux i386 versions of Wing are being built on a somewhat newer Linux system running kernel version 2.6.22. Linux systems released before about mid 2006 may no longer be supported. Previous versions of Wing were built on a system with kernel 2.4.2, dating from 2001.
For Django Users
- If debugging templates does not work under Django 1.2, you are running into
this bug. To work around
it, upgrade to Django 1.2.1 or change your TEMPLATE_LOADERS setting
in your settings.py file to the following:
TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', )
- The support has been tested only with Django 1.1 and 1.2
- Note that you cannot debug the Django template internals code at the Python level as long as the Enable Django Template Debugging feature is enabled under the Extensions tab in Project Properties.
- The Django plugin functionality is in scripts/django.py in your Wing installation and is user-editable. See the document Using Wing IDE with Django under the How-Tos item in the Help menu for details.
- Wing 4.0 installs side by side with Wing 3.x, so there is no need to remove the stable version of Wing in order to try the beta release.
- Support for PPC OS X has been dropped
- The Templates tool was renamed to Snippets
- For other compatibility details, see the Changes sections in the CHANGELOG.txt file in the release.
NOTE: Find points of use, refactoring, diff/merge tool, and Django plugin are only present in Wing IDE Professional.
Wing IDE 4.x requires a paid upgrade for users of Wing IDE 3.x, if that license was purchased more than a year ago. If you do not have a 4.x license, use a series of trial licenses with the beta release, or you can upgrade a license or purchase a new license.