Project management
Visual Studio Code doesn’t use the usual “File > New Project” dialog method, which IDEs commonly use to start developing new projects. The basic design of Visual Studio Code is that of a text editor, which uses your file system to browse for existing files to edit and compile.
Although you can use the Veryant isCOBOL extension just to view and edit COBOL source files, you need a project with a specific directory structure to be able to compile, run and debug COBOL programs.
To create a new project
1. click on the gear icon in the bottom left corner and choose "Command Palette..." or alternatively press Ctrl-Shift-P to open the command palette,
2. select the command "isCOBOL: create new COBOL project",
3. browse for the directory where your project will be stored.
The following folders will be created in the chosen directory:
Folder | Content |
---|
cpy | COBOL copybooks |
list | list files |
output | compiled class files |
source | COBOL source files |
To open an exisiting project
1. click on File in the menu bar and choose "Open Folder..." or alternatively press Ctrl-K followed by Ctrl-O,
2. select the directory where you project is stored.