OpenCobolIDE
OpenCobolIDE is a simple and lightweight COBOL IDE based on the GnuCOBOL compiler.
The software is written in Python using PyQt5 (or PyQt4) and pyQode
Starting from version 4.7, OpenCobolIDE has entered in maintainance mode. No new features will be accepted, only bug fixes.
The next major version of OpenCobolIDE will be HackEdit , a brand new project that will replace OCIDE when it is ready, currently in alpha...
Features:
- COBOL syntax highlighter
- COBOL code completion
- COBOL code folding
- configurable margins
- navigable tree view of division, sections, paragraphs etc (fully synchronised with the code folding panel)
- auto-indentation
- tool for computing PIC fields offsets
- compile as a program (.exe) or as a subprogram (.so/.dll)
- run the program from the editor or from a configurable external terminal ( necessary if you are using the SCREEN section).
- dark color schemes and theme
- cross platform: works on GNU/Linux, Windows and Mac OSX
- dbpre integration on Linux, esqlOC on Windows
License
OpenCobolIDE is released under the GPL version 3
Dependencies
- GnuCOBOL
- Python3 >= 3.3
- PyQt5 (preferred) or PyQt4
- setuptools
Starting from v4.7, the following pure python dependencies are bundled with OCIDE (this makes packaging easier):
Installation
GNU/Linux
Note: starting from v4.6.2, the installed executable name is lowercase: opencobolide
Ubuntu
A debian package is available here: https://launchpad.net/cobcide/+download
This package should work on any Ubuntu version >= 14.04 and on any version derived from Ubuntu.
Fedora
A RPM package for Fedora 23 is available here: https://launchpad.net/cobcide/+download
ArchLinux
OpenCobolIDE is available from the AUR.
You can install using one of the many available AUR helper; e.g. using yaourt:
yaourt -S opencobolide
KaOS
OpenCobolIDE is up in the KaOs Community Packages (KCP):
kcp -i gnu-cobol kcp -i opencobolide
Other distributions
Install Python3, PyQt5, GnuCOBOL and pip for Python3 using your package manager, then run the following commands:
sudo pip3 install OpenCobolIDE --upgrade
Note that if you have both PyQt5 and PyQt4 on your system, the IDE will use
PyQt5 by default. To force the use of PyQt4, you should set the
QT_API
environment variable to pyqt4
.
Windows
There is a windows installer available here: https://launchpad.net/cobcide/+download
Mac OSX
There is a dmg image available here: https://launchpad.net/cobcide/+download
Before running the app, you first have to install the GnuCOBOL compiler, e.g. using homebrew:
brew install gnu-cobol
If you installed the compiler in a non-standard path and it is not recognized
by the IDE, you can specify the path to the compiler in the preferences
dialog (Compiler
tab)
Resources
Screenshots
- Home page:
- Editor:
- Code folding:
- Offset calculator
- Dark style support