Jump to content

Wing IDE

From Wikipedia, the free encyclopedia
Wing Python IDE
Developer(s)Wingware
Initial release1.0 beta / September 7, 2000; 24 years ago (2000-09-07)
Stable release
10.0.6 / September 20, 2024
Preview release
10.0.0.3 / December 7, 2023
Written inPython, Cython, C, C++
Operating systemWindows, OS X, Linux
TypeIDE for Python
LicenseProprietary
Websitewingware.com

The Wing Python IDE is a family of integrated development environments (IDEs) from Wingware created specifically for the Python programming language with support for editing, testing, debugging, inspecting/browsing, and error-checking Python code.

There are three versions of the IDE, each one focused on different types of users:

  • Wing Pro – a full-featured commercial version, for professional programmers;
  • Wing Personal – a free version that omits many of these features, for students and hobbyists; and
  • Wing 101 – a very simplified free version for teaching beginner programmers.

Wing Pro provides AI-assisted development, local and remote debugging, editing (with multiple key bindings, auto-completion, auto-editing, and multi-selection), source browser and code navigation, code refactoring, import management, error checking, auto-reformatting, unit testing with code coverage, version control, project management, Python environment and package management, single and multi-file search, fine-grained customization, support for Docker and LXC containers, assistance for working with third-party frameworks and tools (such as Django, Flask, Matplotlib, Pandas, Blender, Maya, Unreal Engine, PyQt, wxPython, and others) through Python scripting, and comprehensive documentation.

Wing Personal and Wing 101 omit many of these features. All three versions of Wing support installation on Windows, Mac OS X, and Intel and ARM Linux.

Free licenses for Wing Pro are available for educational users and unpaid open-source software developers.[citation needed]

AI Assisted Development

[edit]

The AI assistant, available in Wing Pro only, can be used to write new code, refactor or redesign existing code, and inspect and understand code. Using the assistant, users may:

  • Refactor or rewrite selected code according to the user's written instructions;
  • Insert new AI-written code at the current editor insertion point according to a written description; and
  • Chat with an AI assistant to ask about some code or iterate towards a solution for a bug fix or extension, without changing any of the existing source code directly.[citation needed]

Debugger

[edit]

The debugger can be used to locate and fix bugs, as well as a way to write new code interactively in the live runtime state for which the code is being designed. The level of the debugging support depends on the version used, with each tier of service giving the user more features with which they can debug.[citation needed]

Wing 101 supports:

  • Debug code launched from the IDE (as a file or module with 'python -m');
  • Interactive debugging from (and within) the integrated Python Shell;
  • Exception and traceback reporting;
  • View stack, local/global variables, and return values;
  • The data frame and array viewer;
  • Integrated Debug I/O tool with configurable text encoding;
  • Optional native console I/O; and
  • Steps over importlib frames.

Wing Personal adds:

  • Multi-threaded debugging;
  • Debug code launched outside of the IDE, including code running under a web framework or embedded instance of Python;
  • Debug value tooltips;
  • Alter debug data values; and
  • Define named entry points and debug launch configurations.

Wing Pro adds:

  • An interactive Debug Probe command line for inspecting the current debug frame, with auto-completion, syntax highlighting, goto-definition, call tips, and documentation links;
  • Multi-process and automatic child process debugging;
  • Launching remote debug processes from the IDE;
  • Conditional and ignore-counted breakpoints;
  • Enable/disable breakpoints;
  • Moving the debug program counter;
  • Debug unit tests;
  • Tutorials and extra features for Django, Flask, Jupyter, matplotlib, web2py, Plone, Zope, Docker, AWS, Vagrant, Raspberry Pi, Windows Subsystem for Linux, Blender, Unreal Engine, Nuke, and others;
  • The ability to press Shift-Space to view the value of all symbols in the editor;
  • Recursive debugging of code invoked in the context of another debug stack frame;
  • Convenient Restart Debugging tool;
  • Tracking values by reference;
  • Evaluating expressions;
  • Breakpoint manager;
  • Debug process attach/detach;
  • Inspecting sys.modules; and
  • Marking a range of code in the editor for quick reevaluation in Python Shell or Debug Probe.[citation needed]

Code intelligence

[edit]

The code intelligence features speed up editing, facilitated navigation through code, and inspected code for errors. These features rely both on static analysis of Python code found in the project and on the Python Path and runtime analysis of code whenever the debugger is active or the code is active in the integrated Python Shell. The features available to the user depend on the version being used.[citation needed]

Wing 101 provides:

  • An auto-completer that offers completions in Python code and in the integrated Python shell (this feature is disabled by default in Wing 101 but can be enabled in preferences)
  • Source index menus in each editor provide a handy index into the source code
  • Goto-definition
  • Auto-indent
  • PEP8, Black, YAPF, and Ruff reformatting
  • Syntax and indentation error indicators
  • Convert indents and end-of-line characters on paste
  • Understands PEP 484 and 526 type hinting

Wing Personal adds:

  • Find Symbol: keyboard-driven goto-definition within the current file or any project file
  • Auto-completion in non-Python files
  • Indentation analysis and conversion
  • Source Assistant: provides context-appropriate call signature and documentation with the rendering of PEP287 docstrings
  • Class browser for single files or whole project

Wing Pro adds:

  • Code Warnings tool
  • Pylint, pep8 checker, mypy, flake8, and Ruff integrations
  • Module browser
  • Source Assistant includes standard library documentation links
  • Find all points of use of a symbol, filtering out different but like-named symbols
  • Find the symbol by name, in the current file or all project files
  • Refactoring: rename or move a symbol and update points of use, extract a range of code to a new function or method, introduce a variable, and manage imports[citation needed]

Project Management

[edit]

Wing's project manager allows developers to set up, manage, and share development configurations. It supports creating projects for existing or new source directories, with optional code retrieval from version control repositories. The IDE facilitates easy creation and configuration of Python environments using virtualenv, pip, Poetry, pipenv, or conda, either locally, on a remote host, or with containers managed by Docker or LXC/LXD.[1]

Version control

[edit]

Wing Pro integrates with various version control systems, including Git, Mercurial, Perforce, Subversion, and CVS. It offers features such as status checking, committing, logging, blame/praise/annotate, reverting, resolving, and repository push/pull operations. A difference and merge tool is also available for comparing files or directories and reviewing uncommitted changes.[1]

Package Management

[edit]

Wing Pro includes an integrated package management tool that simplifies inspecting, adding, removing, and upgrading Python packages in the development environment. It supports pip, Poetry, pipenv, and conda environments.[1]

Unit testing

[edit]

Wing Pro supports unit testing by allowing running and debugging of unit tests written for the unittest, pytest, doctest, nose, and Django testing frameworks. It optionally tracks code coverage, to indicate how well code is being tested and to re-run only tests affected by changes to code.

Remote development

[edit]

Wing Pro also supports secure development on remote hosts, virtual machines, or containers hosted by Docker, Docker Compose, or LXC/LXD. Code on the remote system may be edited, debugged, tested, and managed from the IDE, as for locally stored files. Remote development also supports externally launched debugging.

Other features

[edit]

Other features present in all versions include:

Wing Personal adds:

  • Multi-select to simultaneously edit multiple parts of a file
  • Define custom key bindings
  • Create projects for different development tasks
  • Quickly open project files by name fragment
  • Add, delete, rename, and move files in the project
  • Create new projects using existing virtualenv, Anaconda env, pipenv, or Poetry environments
  • Project-wide and multi-file search
  • Regex and wildcard search
  • Search documentation

Wing Pro adds:

  • Goto-definition, call tips, and documentation links in the integrated Python shell
  • Python environment creation with virtualenv, pipenv, conda, Poetry, and Docker
  • Python package management with pip, pipenv, conda, and Poetry
  • File add, delete, rename, and move operations track to the active revision control systems
  • Set and traverse bookmarks
  • Code snippets with recursive inline data entry
  • Perspectives for naming custom user interface layouts
  • Execute external commands in the integrated OS Commands tool
  • Extend the IDE's functionality with Python scripts

History

[edit]

The first public version of Wing was released on the 7th of September of 2000, as 1.0 beta, only for Linux.

The first stable version was v1.0 for Linux, released on the 1st of December of 2000.

As of March 29, 2004, Archaeopteryx Software Inc began doing business as Wingware.

Wing version 4.x and earlier were based on GTK2 and the OS X version required X11. Wing 5 changed to Qt4 via PySide and no longer uses X11 on OS X. Wing 6 moved to Qt5 with PyQt5. Wing 10 uses PyQt6.5.

See also

[edit]

References

[edit]
  1. ^ a b c America, Wingware P. O. Box 400527CambridgeMA02140-0006United States of. "Project Management Features - Wing Python IDE". wingware.com. Retrieved 2024-07-07.{{cite web}}: CS1 maint: numeric names: authors list (link)

[1]

[edit]
  1. ^ Cite error: The named reference :0 was invoked but never defined (see the help page).