The Rocket Enterprise extension provides auto-generated build tasks for any .cblproj, .pliproj or .sln files. The projects can be for native COBOL, PLI/I code, or for .NET COBOL code.
The project and solution must be created with Enterprise Developer for Visual Studio. The .cblproj or the .pliproj file, and the .sln solution file must be stored in the same folder that you open in Visual Studio Code or any subfolder beneath it.
To compile the sources:
This shows the Task Picker with the supplied build tasks - one for building the project file, and one for building the solution.
For PL/I code the available tasks are
PL/I: MSBuild (<projname>.cblproj) or
PL/I: MSBuild (<slnname>.sln)
You can optionally configure which task should be the default one from this widget.
The build output is displayed in the Terminal window. Any errors are underlined with red squiggly lines in the editor.