Menu

GNU Cobol integration with Eclipse IDE?

2024-12-04
2024-12-11
  • Anshul Agrawal

    Anshul Agrawal - 2024-12-04

    Please do help me for GNU cobol setup in eclipse IDE?

     
  • Boris Eng

    Boris Eng - 2024-12-05

    Hello Anshul.

    Is using Eclipse IDE mandatory for a specific reason? I would rather recommend VSCode since there is a modern VSCode extension especially made for GnuCOBOL and which is easy to install: SuperBOL Studio. VSCode should not be too difficult to use if you're already familiar with Eclipse IDE. I'm not aware of any tools for GnuCOBOL in Eclipse IDE.

    EDIT: you may also prefer VSCodium (as mentionned below) and the extension will also be available for it

     

    Last edit: Boris Eng 2024-12-11
  • Anshul Agrawal

    Anshul Agrawal - 2024-12-10

    No, it is not mandatory. I will check with SuperBol studio. Thanks Boris.

    Could you please help me out the setting for GNU setup in SuperBol? Right now, I am using GNU cobol in Linux platform and doing compilation with makefile.
    Last time I used GNU Cobol in 2019 where I was using .gcc complier and creating esql and osql respective ibrary and doing compilation in windows but now I am unable to perform the same thing in my current project as they were using Make file in Linux.
    Could you please guide me?

     

    Last edit: Anshul Agrawal 2024-12-10
    • Boris Eng

      Boris Eng - 2024-12-11

      You can download VSCode here: https://code.visualstudio.com/Download (or via another package manager). More info for Linux: https://code.visualstudio.com/docs/setup/linux

      or VSCodium: https://vscodium.com/ (explanations of why it exists: https://vscodium.com/#why)

      There's an "extension" tab on the left (or Ctrl+Shift+X). You can search for "SuperBOL" and install it from there.
      Your COBOL code will be highlighted and the extension also features syntax diagnostics, navigation to definition/references, auto-completion, easy renaming, graphical control-flow graphs representations and more (see details of the extension).
      You can set the path of cobc, gdb, your copybooks and more in the extension's settings. There's also a superbol.toml file for more configuration. Everything is documented.

      Don't hesitate if you need more help.

       
      👍
      1

      Last edit: Boris Eng 2024-12-11
      • Mickey White

        Mickey White - 2024-12-11

        Will SuperBol studio work with VsCodium ? With the same extensions?

         
        • Simon Sobisch

          Simon Sobisch - 2024-12-11

          Yes. Only a handful extensions of Microsoft (that are not licensed to be used outside of the binary-only versions of "Visual Studio Code" in any case) only work on MS builds.

          And the SuperBOL extension is (other than the spgennard.cobol and micro focus extension) also published on OpenVSX, which is the default extension repository for VSCodium (the VSC ones use the MS marketplace instead, which is... only licensed to be used with MS binaries, of course).

          Just give it a go :-)

           
      • Simon Sobisch

        Simon Sobisch - 2024-12-11

        As Mickey "kind of hinted at" - the MS versions are possible to be used, but for several reasons you may want to use software where the complete code is available and that does not send any data to MS by default.

        See https://vscodium.com/#why for more details and installation instructions (note: some GNU/Linux distributions only have VSCodium and also install it if you install "vscode" [which is the name of the MIT-licensed software]).

         
        👍
        1
        • Boris Eng

          Boris Eng - 2024-12-11

          You're right, I should have mentioned VSCodium too. I edited my messages.

           
          👍
          1
    • Boris Eng

      Boris Eng - 2024-12-11

      You may also try GixSQL (which I believe is rather complete) https://github.com/mridoni/gixsql It also has install instructions for VSCode.

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.