superbol-studio-oss icon indicating copy to clipboard operation
superbol-studio-oss copied to clipboard

Comment and Uncommnent source rows

Open eugeniodilo opened this issue 1 month ago • 4 comments

I recently installed VsCode with the Superbol extension. So far, I've been using OpenCOBOLIDE. I hope this is the right channel to ask for information. If not, could you tell me which is the correct channel to use? The VsCode and Superbol environment seems very powerful and interesting at first glance, but also a bit confusing for a beginner. I think a beginner's guide would be helpful. For this reason, I'd also like to gather some basic information for those who are using Superbol for the first time in a document.

Question: When I'm editing GnuCOBOL source code, I'd like to use a function that automatically inserts *> characters at the beginning of a line to make the entire line a comment. The same goes for a block of lines. And, of course, a function that removes the *> characters at the beginning of a line to uncomment a line or block of lines in the source code.

I tried the menu function Edit --> Toggle Line comment but it doesn't work (nothing happens).

eugeniodilo avatar Nov 20 '25 18:11 eugeniodilo

That is indeed the right place. If the toggle did not work and the language identifier is cobol (ensure that no other COBOL extensions are loaded), then that would be a bug.

It should insert *> in free format and otherwise * in col7.

GitMensch avatar Nov 20 '25 18:11 GitMensch

That is indeed the right place. If the toggle did not work and the language identifier is cobol (ensure that no other COBOL extensions are loaded), then that would be a bug.

It should insert *> in free format and otherwise * in col7.

Just installed Superbol ...but i have also Gcov extension ... see attached image.

Image

eugeniodilo avatar Nov 20 '25 20:11 eugeniodilo

Just installed Superbol ...but i have also Gcov extension ... see attached image.

Hi! Yes the Gcov extension is a dependency of SuperBOL Studio, that uses it to render coverage information. The Gcov extension is relatively light, so that shouldn't be an issue, should it?

On the matter about the issue, we indeed need to fix that issue.

nberth avatar Nov 21 '25 09:11 nberth

Just installed Superbol ...but i have also Gcov extension ... see attached image.

Hi! Yes the Gcov extension is a dependency of SuperBOL Studio, that uses it to render coverage information. The Gcov extension is relatively light, so that shouldn't be an issue, should it?

On the matter about the issue, we indeed need to fix that issue.

I confirm that's not a problem. However, it doesn't seem to be stated anywhere in the documentation that installing the SuperBOL extension also installs the GCOV extension. It would be better to explicitly state this somewhere.

Regarding the "Comment" and "Uncomment" features, I find it strange that no one has noticed them yet. In my opinion, it's a rather convenient and widely used feature during development. Should I classify this ISSUE with a "bug" label ? Do you have any predictions or indications on resolution times ?

eugeniodilo avatar Nov 21 '25 09:11 eugeniodilo