Menu

VS Code Plugins

GnuCOBOL
pottmi
2024-05-04
2024-05-26
  • pottmi

    pottmi - 2024-05-04

    I need a COBOL plugin for Monaco.

    Background:
    For those of you not familiar with Monaco: it is a browser based version of
    VS Code.

    It is not compatible with VS Code because VS Code allows C based libraries
    to be loaded; this is important because the syntax highlighters use some C
    based libraries that don't work on Monaco.

    Questions:
    1. Is there a COBOL plugin for Monaco? (I looked, but I am asking anyway).
    2. What is the list of COBOL plugins for VS Code and your opinion of their
    functionality?

    The context of this question is: I am intending to hire a person to convert
    an open source VS Code plugin to work on Monaco (even if it is lower
    functionality).

    I want to preview the code of the VS Code plugins and pick the one that has
    the simplest code.

     
    • Simon Sobisch

      Simon Sobisch - 2024-05-04

      It all depends what you expect - only syntax highlighting? That should be easy using only the tmLanguage - like this one: https://github.com/nberth/superbol-studio-oss/blob/master/syntaxes/COBOL.tmLanguage.json - or defining a complete "inbuilt" syntax definition that can then be upstreamed (which would have a lot of benefits including reasonable out-of-the box COBOL highlighting in vscode and other Monaco based editors as well as Windows file preview).

       

Log in to post a comment.