Scripting and Extending Wing
Wing provide an API that can be used to extend the IDE's functionality with scripts written in Python. Scripts add to the IDE's command set, which is accessible from menus, the toolbar, and key bindings.
Wing finds and loads scripts at startup, and reloads them when they are edited within Wing and saved to disk. The API allows scripts to access the editor, debugger, project manager, search tools, source code analysis engine, asynchronous task manager, and a range of other functionality. The scripting API also provides access to all of Wing's preferences and commands.
Simple scripts can be developed and debugged using error messages displayed in the Scripts channel of the Messages tool. It is also possible to configure a project that supports auto-completion and integrated documentation for the scripting API, and that allows debugging extension scripts within Wing.
More advanced scripting, including the ability to add new tools, is available as well.
Section Contents
22.1. Overview of the Scripting Framework
22.2. Scripting API
22.3. Script Syntax
22.3.0. Script Attributes
22.3.1. Adding Scripts to the GUI
22.3.2. Argument Collection
22.3.3. Importing Other Modules
22.3.4. Internationalization and Localization
22.3.5. Plugin Extensions
22.4. Debugging Extension Scripts
22.5. Advanced Scripting
22.6. API Reference
22.6.0. API Reference - Utilities
22.6.1. API Reference - Application
22.6.2. API Reference - Editor
22.6.3. API Reference - Project
22.6.4. API Reference - Debugger
22.6.5. API Reference - Search
22.6.6. API Reference - Analysis
