Visual APL Development Environment  (Integrated with Visual Studio)

Introduction Visual APL

The Visual APL integrated with Visual Studio is a collection of development tools exposed through a Visual Studio interface. Some of the tools are shared with other Visual Studio languages, and some, such as the Visual APL compiler, are unique to Visual APL. This documentation provides an overview of how to use the most important Visual APL tools as you work in Visual Studio in various phases of the development process.

Visual APL Tools

The following are the most important tools and windows in Visual APL. The windows for most of these tools can be opened from the View menu.

·                     The Code Editor, for writing source code.

·                     The Visual APL compiler, for converting Visual APL source code into an executable program.

·                     The Visual Studio debugger, for testing your program.

·                     The Toolbox and Designer, for rapid development of user interfaces using the mouse.

·                     Solution Explorer, for viewing and managing project files and settings.

·                     Project Designer, for configuring compiler options, deployment paths, resources, and more.

·                     Class View, for navigating through source code according to types, not files.

·                     Properties Window, for configuring properties and events on controls in your user interface.

·     Object Browser, for viewing the methods and classes available in dynamic link libraries including .NET Framework       assemblies and COM objects.

·                     Document Explorer, for browsing and searching product documentation on your local machine and on the Internet.

Visual Studio Exposes Tools Overview

You can interact with the VS tools through windows, menus, property pages, and wizards.  The basic VS looks something like this:

Visual C# Integrated Development Environment

You can quickly access any open tool windows or files by pressing CTRL + TAB. For more information, see Navigating and Searching (Visual APL).

Editor and Windows Form Designer Windows

The large main window is used by both the Code Editor and the Windows Forms Designer. You can toggle between code view and Design view by pressing F7, or clicking Code or Designer on the View menu. While in Design view, you can drag controls onto the window from the Toolbox, which you can make visible by clicking on the Toolbox tab on the left margin. For more information about the Code Editor, see Editing Code (Visual APL). For more information about the Windows Forms Designer, see Windows Forms Designer.

The Properties window in the lower right is populated only in Design view. It enables you to set properties and hook up events for user interface controls such as buttons, text boxes, and so on. When you set this window to Auto Hide, it will collapse into the right margin whenever you switch to Code View. For more information about the Properties window and the Designer, see Designing a User Interface (Visual APL).

Solution Explorer and Project Designer

The window in the top right is Solution Explorer, which shows all the files in your project in a hierarchical tree view. When you use the Project menu to add new files to your project, you will see them reflected in Solution Explorer. In addition to files, Solution Explorer also displays your project settings, and references to external libraries required by your application.

The Project Designer property pages are accessed by right-clicking on the Properties node in Solution Explorer, and then clicking Open. Use these pages to modify build options, security requirements, deployment details, and many other project properties. For more information about Solution Explorer and the Project Designer, see Creating a Project (Visual APL).

Compiler, Debugger, and Error List Windows

The Visual APL compiler has no window because it is not an interactive tool, but you can set compiler options in the Project Designer. When you click Build on the Build menu, the Visual APL compiler is invoked by the IDE. If the build is successful, the status pane displays a Build Succeeded message. If there were build errors, the Error List window appears below the editor/designer window with a list of errors. Double-click an error to go to the problem line in your source code. Press F1 to see Help documentation for the highlighted error.

The debugger has various windows that display values of variables and type information as your application is running. You can use the Code Editor window while debugging to specify a line at which to pause execution in the debugger, and to step through code one line at a time. For more information, see Building and Debugging (Visual APL).

Customizing the IDE

All of the windows in Visual APL can be made dockable or floating, hidden or visible, or can be moved to new locations. To change the behavior of a window, click the down arrow or push-pin icons on the title bar and select from among the available options. To move a docked window to a new docked location, drag the title bar until the window dropper icons appear. While holding down the left mouse button, move the mouse pointer over the icon at the new location. Position the pointer over the left, right, top or bottom icons to dock the window on the specified side. Position the pointer over the middle icon to make the window a tabbed window. As you position the pointer, a blue semi-transparent rectangle appears, which indicates where the window will be docked in the new location.