Give developers a modern environment to take over a COBOL codebase and recover its business rules.
We help teams get started on the client's code and integrate it into their workflow (CI/CD).
Only available with the SuperBOL Subscription

SuperBOL Studio integrates all the essential tools to develop efficiently in COBOL: smart navigation, contextual help, and automation to gain productivity.
Completion, navigation to definitions and references, diagnostics while typing: your teams get the comfort of a modern development environment on their COBOL code.

Follow the execution of a program step by step and inspect its data, presented as in the DATA DIVISION, to locate the origin of a business discrepancy, an incident or a regression after migration. Remote debugging is possible depending on the configuration.

View the sequence of paragraphs and sections of a program, and go from the graph to the code in one click to quickly understand a legacy program.

See in the editor which parts of the COBOL code were actually executed, from the coverage analysed by GnuCOBOL.

Rename a data item or a paragraph safely: all its occurrences in the program are updated, and SuperBOL Studio warns you if one of them is in a copybook, without changing it.

Show the contents of copybooks and the results of REPLACE directives by hovering over the code.

We support your teams in adopting and using SuperBOL Studio to optimise your productivity in COBOL development. We can extend SuperBOL Studio and develop new custom tools to meet your precise needs and integrate seamlessly into your development environment.
Discover our offerIn VS Code, the language server (LSP) brings navigation to definitions and references, contextual completion, renaming and diagnostics while editing.
SuperBOL Analyzer maps COBOL and C calls and helps find dead code. The control flow graph lets you navigate between branches and the matching code.
Integrated debugger: step-by-step execution and display of the memory before each statement, structured like the DATA DIVISION. Remote debugging depending on the configuration.
What SuperBOL Studio IDE brings to VS Code for your COBOL projects.
| COBOL project settings | The SuperBOL Studio settings define the COBOL dialect (GnuCOBOL, COBOL85, IBM, Micro Focus, GCOS…), the reference format of the sources (automatic detection of fixed or free format, or a forced format, including by file extension), the copybook search paths and their extensions. |
| superbol.toml project file | The “SuperBOL: Write Project Configuration” command saves the project configuration in a superbol.toml file at the root, to be put under version control. This file is validated by a JSON schema when edited in VS Code. |
| Copybook directory search | A command scans the workspace to find the directories that contain copybooks and adds them to the settings. |
| Analysis of the whole workspace | The “Analyze Every COBOL File in the Workspace” command analyses all the COBOL files of the project in parallel processes and reports errors, including in files that are not open. Non-UTF-8 files are read with the encoding configured in VS Code. |
| Cache management | The language server caches its analyses to speed up the following sessions. A “SuperBOL Caches” view and an indicator in the status bar show the space used and let you purge old entries, with a configurable maximum size and age. |
| Built-in compilation tasks | Four ready-to-use tasks compile the current program with GnuCOBOL: module or executable, with or without debugging information. They can be customised in tasks.json (path of cobc, extra options, dialect configuration file). |
| Running the program | Run Without Debugging (Ctrl+F5) compiles the module then starts it, through cobcrun or a custom COBOL runtime if needed. |
| Compilation errors | The errors, warnings and notes of cobc are reported in the VS Code Problems panel, with a link to the line concerned. |
| Compilation listings | The tasks can produce the listings of the preprocessed programs in a chosen directory. GnuCOBOL listing (.lst) and dump (.dump) files get syntax highlighting. |
| Code coverage | With the forCoverage option, the program is instrumented and produces coverage files in gcov format. The “Show Coverage”, “Hide Coverage” and “Update Coverage” commands colour the source lines according to whether they were executed or not. |
| Syntax highlighting | Lexical highlighting of reserved words, literals, comments and names, complemented by semantic highlighting derived from the analysis of the program. EXEC SQL blocks are highlighted as SQL. |
| IntelliSense | Ctrl+Space suggests the keywords valid at the cursor position, data and paragraph names, intrinsic functions, and even complete COBOL sentences. Names defined in the COMMUNICATION, REPORT and SCREEN sections are not suggested yet. |
| Code folding | Divisions, sections, paragraphs, data descriptions, EXEC blocks and statements can be folded to make long programs easier to read. |
| Renaming | F2 renames a data item, a section or a paragraph throughout the program. SuperBOL Studio warns when a reference is in a copybook, and then does not rename. |
| Reindentation | The VS Code formatting commands (document or selection) readjust the indentation of the lines according to the structure of the program. |
| Outline and breadcrumbs | The Outline view and the breadcrumbs bar present the divisions, sections, paragraphs and data items of the program, to reach them in one click. |
| Go to symbol | Ctrl+Shift+O searches for a symbol in the open program; symbol search also extends to the whole workspace. |
| Definition and peek | F12 goes to the definition of a data item or a paragraph, and Peek (Ctrl+Shift+F10) shows it without leaving the file, including when it is in a copybook. Definitions in the COMMUNICATION, REPORT and SCREEN sections, and some in EXEC SQL blocks, are not handled yet. |
| Find references | Shift+F12 lists all the uses of a data item, a section or a paragraph. |
| Reference counters | Above each data definition and each section or paragraph, a counter shows the number of references and lets you display them. |
| Hover on COPY and REPLACE | Hovering over a COPY directive shows the contents of the copybook; hovering over text replaced by a REPLACE directive shows the resulting text. |
| Syntax diagnostics | Syntax errors are reported while typing. By default, they are only published for the COBOL85 dialect; a setting enables them for the other dialects, at the risk of false positives. |
| Data checks | SuperBOL Studio also checks the consistency of declarations and conditions, for example PICTURE strings, VALUE clauses ignored under REDEFINES, or abbreviated conditions without a valid expansion. |
| Data information on hover | Hovering over a data item shows its PICTURE clause with sample values, its USAGE, its size and position in the record, its REDEFINES relations, and the comments that document it, even when it is defined in a copybook. |
| Control flow graph | The “Show Control-flow” command draws the control flow of the whole program or of a section. The graph can be simplified (unreachable nodes removed, sequential transitions grouped, nodes hidden or duplicated) and clicking a node takes you to the matching code. |
| Arc diagram | The same control flow can be shown as an arc diagram: sections and paragraphs are aligned vertically, and arcs show the transfers of control between them. |
| Starting a debug session | F5 compiles the program with debugging information then starts it under the SuperBOL Studio debugger, based on GDB. Launch configurations are generated automatically in launch.json and accept arguments, environment variables, working directory and subprograms. |
| Breakpoints and stepping | Breakpoints on statements and paragraph names, then continue, pause, step over, step into or step out from the debug toolbar. |
| Variables view | The values of the program's data are shown in the Variables panel and can be changed there. A setting also shows their attributes (size of alphanumeric items, number of digits and scale of numeric items). |
| Watches and hover | The Watch panel evaluates the chosen expressions at each stop, and hovering over a data name in the source shows its current value. |
| Call stack | The call stack shows the sequence of called programs and the calling line in each one. |
| Debug console | The debug console sends commands directly to GDB during the session. |
| Attaching to a process | The debugger can attach to a program that is already running, locally by its process ID or remotely through gdbserver. |
| Program output | The input and output of the debugged program can be shown in a separate terminal or, on Linux, in a VS Code terminal. |
| Opening a data file | With SuperLoupe, a COBOL SEQUENTIAL, LINE SEQUENTIAL, INDEXED or RELATIVE data file opens in VS Code as a table, one record per row. Its structure is taken from the COBOL program that declares it or from a copybook, and this association is remembered. |
| Record details | With SuperLoupe, each record is shown as a tree following its COBOL description, with the PICTURE and USAGE clauses of each field and a raw view of the stored bytes. |
| Editing a record | With SuperLoupe, a value can be corrected directly in the file: the input is checked against the PICTURE clause of the field and only the modified fields are rewritten. |
| Filters and search | With SuperLoupe, you filter records by column, search the whole file, choose the columns shown and can show only the records in error. |
| OCCURS tables | With SuperLoupe, OCCURS groups, even nested ones, are shown folded and unfold on demand, one column per occurrence. |
From proof of concept to industrial-scale production deployment, get support from one of the main contributors to GnuCOBOL.