Solution Explorer

Visual Studio provides a Solution Explorer window that enables you to explore and manage your solutions and projects. To open the window select View > Solution Explorer.

Solution Explorer displays the projects that form your solution, the files and folders in a project as they appear on the physical hard drive, and any assemblies, COM objects or files the project references. The context menus within Solution Explorer provide a variety of commands that help you manage your projects.

Default view

VSIDE201208IMG-low.png

Virtual View
Visual COBOL offers a Virtual View of a project within Solution Explorer. In the Virtual View you use virtual folders to improve navigation by logically grouping the files that make up the project.

You can also create your own virtual folders to group files of your choice (a file can only belong to one virtual folder). The files can be of different file types.

GUID-83273C61-0CC9-4331-978A-43779B77866F-low.png

Errors and warnings filters
Solution Explorer changes the icons of the files in your solution to indicate when they include code that results in errors or warnings. When your solutions or projects include a large number of files, you can use some filters to quickly show only the COBOL, Assembler and BMS files which include errors and work only with them. To do this:
  1. Click the arrow next to the GUID-0C8E8146-1024-496B-98EA-0D28711FF656-low.png(Pending Changes Filter) icon in the Solution Explorer toolbar, and either click GUID-3D55F3C3-3CC5-44EA-B5F1-34C0F4C3FAF6-low.pngErrors Filter or GUID-6DC138DB-23FD-4F5B-84CF-E207F8432DBD-low.pngErrors and Warnings Filter to show the files that result in errors or also cause warnings:

    GUID-068BC700-0956-4A22-B544-CE90206ABFFA-low.png

  2. When you have finished, click the errors filter icon in the Solution Explorer toolbar to turn off the filter and to return to the default view of the project.
Copybook dependencies view
Solution Explorer enables you to view what copybooks the COBOL programs in your project depend on. Each file which includes a COPY statement is indicated by a GUID-09EB2768-23DD-45BB-976D-954AC3318D5E-low.png icon. To view the dependencies for a file:
  • In Solution Explorer, click GUID-09EB2768-23DD-45BB-976D-954AC3318D5E-low.png to expand and view the copybooks the file depends on.

    GUID-2332F7D8-0348-4E82-B921-AD227A2E6F55-low.png

    If Preview Selected Items is switched on in Solution Explorer, clicking a copybook opens it for preview in the editor.

Searching in Solution Explorer
You can use the search field in Solution Explorer to search for files in your solution. Searching also finds copybooks in the copybook dependency view even if they are not part of any of the projects in the solution:

GUID-CCCCFFF0-6C21-4B1B-A04B-B94ABDA1368F-low.png