There is a variety of options and settings that can be configured within Visual Studio. You are going to explore a few of them in this tutorial. Do not skip this section, as you are going to make at least one important configuration change in the project's properties.
This page enables you to configure the default folder for storing Visual Studio projects as well as the defaults for the Output Window, Task List and Solution Explorer.
The Projects location field defines the default location for storing new projects. You can change this path if you are using a different working folder.
You can use the settings in this section to configure features of the editor such as tab size, COBOL margins, some syntax checking rules, and others.
From the Quick Actions page for the editor properties, you can manage what quick actions will be enabled in the editor.
From the Advanced page you can fine tune the behavior of some features of the editor such as background syntax checking and outlining. You can also disable features that are not necessary which could be useful if you are working with a large code base.
You can configure how the editor wraps the code around the margins, or how it indents the code in the different COBOL areas, or how the Home and End keys move the cursor in the different areas. You can also choose the style of the ruler, and change the colors of the text and the margins. You can change the default editor settings and experiment with the new behavior by opening one of the COBOL programs in the editor.
You can now experiment by changing the following settings:
When there is a COBOL file opened in the editor, you can use , Toggle COBOL Smart Edit Mode, in the COBOL toolbar to turn on or off the smart editing mode. To open the COBOL toolbar, click View > Toolbars > COBOL.
The properties you set at project level apply to all files in the project. Here's how to access them:
This opens the tabbed property pages for the project in the main Visual Studio window.
Type should be set to COBOL Copybook Paths. Note that this has C:\MFETDUSER\Bankdemo\Sources\copybook set. This is the folder where the IDE is going to look for the copybook files required by this project.
These are the paths for the copybooks and load modules that will be produced from the BMS files during the build.
The individual source files can have their own local properties which override the project settings. To check a file's properties:
This opens the COBOL-specific file properties.
Notice that CICS Directives is set to CICSECM(). This has been set when you added the file to the project or performed a directives scan of the COBOL sources in your project.
This opens the Visual Studio properties window. Note that the Build Action is set to BMS Compile which means the build invokes the BMS Compiler.