COBOL

COBOL support for the Nova editor.

It highlights COBOL in fixed and free reference format, with SQL highlighting inside EXEC SQL blocks, and lists divisions, sections, paragraphs, files, and data items in the symbol list. Completions include the names declared in the copybooks a program copies. Go to Definition, Find References, and Rename Symbol work on data items, sections, and paragraphs, and Show Record Layout lists each field's offset, length, and picture. Commands convert between fixed and free format, align data clauses, and renumber or clear sequence areas. Saving a file runs GnuCOBOL and marks errors in the editor. A GnuCOBOL task builds, runs, and cleans the program, and a debug task runs it under lldb-dap.

COBOL source code highlighted in Nova, with the symbol list showing the data division items and the procedure division paragraphs
Highlighting and the symbol list.
A record layout in Nova listing the fields of EMPLOYEE-RECORD from a copybook, with level, offset, length, picture, and occurrences
Show Record Layout for a record copied from a copybook.
Nova's Issues sidebar showing the GnuCOBOL error 'WS-RATES' is not defined after saving a COBOL file, and a hint that WS-RATE is never used
A GnuCOBOL error after saving, listed in Nova's Issues sidebar.
A 39-second tour with narration. The voice is synthetic, made with ElevenLabs. The captions are on by default.
Transcript

COBOL for Nova, from Swipht Group. Open a COBOL program in fixed or free format, and Nova highlights it, including embedded SQL, with a symbol list for divisions, sections, and paragraphs. Completions follow your COPY statements into copybooks. Jump to definitions, find references, rename names, and see a record's offsets and lengths. Save, and GnuCOBOL checks your code, so errors appear right in the editor. Build, run, and debug from the GnuCOBOL tasks. It needs Nova 11 or later. Find COBOL in the Nova Extension Library.

Nova Nova 11 or later on macOS. Install it from the Extension Library.
GnuCOBOL Optional. Build, run, clean, and save-time diagnostics use cobc on your PATH, or a compiler path set in preferences.
Debugger Optional. The debug task uses lldb-dap from Xcode or the Command Line Tools.
Language server Optional. Set an executable path in preferences. The extension does not download or bundle a server.
No public permission The published license does not allow use, copying, or sharing. Written authorization from the author is required.
Not free software Proprietary. The license grants no other rights. The bundled Tree-sitter COBOL parser is MIT-licensed.
Files COBOL files with the extensions .cbl, .cob, .cobol, .pco, .cpy, .copy, and .cbx.
Source github.com/JohnThre/COBOL.novaextension