pyqode.cobol adds COBOL support to pyQode (code completion, code folding,...).
- cobol code completion provider based on the cobol keywords and the defined names of the current document (pic fields, paragraphes)
- code folding mode
- auto indent mode (after struct, paragraph or inside procedures)
- native (fast) syntax highlighter with pygments themes support.
- document outline widget
pyqode.cobol is licensed under the GPL v3.
pyqode.python depends on the following libraries:
- python 3 (>= 3.2)
- pyqode.core
$ pip3 install pyqode.cobol --upgrade
pyqode.core has a test suite and measure its coverage.
To run the tests, just run python setup.py test
To measure coverage, run:
python3 setup.py test -a "--cov pyqode"
To check for PEP8 warnings, install pytest-pep8 and run:
python3 setup.py test -a "--pep8 -m pep8"
To run a single test, use -a "-- test_file_path.py::test_function"
, e.g.:
python3 setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"
We test the following combinations on Travis-CI:
PyQt4 | PyQt5 | |
---|---|---|
GNU/Linux - Python 3.4 | yes | yes |