BDL Syntax highlighting in VsCode

Started by Dave T., September 28, 2022, 03:03:34 AM

Previous topic - Next topic

Dave T.

Hey,

Just wondering if anyone has worked on a Vscode extension to add in the Genero/BDL syntax ?

And if so would you like to share it :-)

Cheers

Dave

Sebastien F.

Hi Dave,

I cannot help on a VSCode extension, but you can have a look at the VIM integration using for BDL syntax highlighting, completion and beautifying/reformatting:

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_CodeEditing_005.html

See FGLDIR/vimfiles

Seb

Reuben B.

Quote from:  . on September 28, 2022, 03:03:34 AM
Hey,

Just wondering if anyone has worked on a Vscode extension to add in the Genero/BDL syntax ?

And if so would you like to share it :-)

Cheers

Dave

The answer to your question is Yes, and if you search on github, you may find a couple already shared.

Reuben





Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Rene S.

Hi,
yes anyone has worked on a Vscode extension to add in the Genero/BDL syntax.

As you know: we (FourJ's) provide a vim extension supporting syntax-highlighting, code-completion and formatting.
The code-completion and the formatting is done by the compiler.

A VSCode extension for syntax-highlighting is not a big deal. The real challenge is the perfect code-completion.

The good message is: it is working. For everybody being interested: feel free to contact me. I would like to share it.
What is working at the moment:
- syntax-highlighting
- code-completion
- error-detection (mark errors/warnings in the editor)
What is not working at the moment:
- source code formatting
- debugger integration

Rene
PS: the attachment size limit of 128KB does not allow me to attach some screen-captures.

Dave T.

Thanks guys for the response.

Yes Rene I would love to get my hand on it, dave.tobin@civica.com.au

Cheers

Dave

Susobh S.

Hi Rene,

I'm interested to check it out as well. :-)
susobh.sugathan@censof.com

Thanks And Regards
Susobh Sugathan

Jeroni C.

Hi,

I'm interested in test the extension for syntax highlighting and code completion.
jeroni@semic.es

Thanks,
Jeroni


Rene S.

Do a git-update of .vscode/extensions/vscode-fglcomp.

New: Added code completion/error detection/syntax highlighting for .per files

Michael L.

Hello,

I noticed today that the two github repositories (vscode fglcomp + 4gl) have both been removed (or made private?).

Are they being desupported? They're both popular among the younger developers who all use VS Code.

Thanks

Reuben B.

Michael,

It looks like it has been marked Private.  I'll wait for Rene to come online to confirm if that was intentional or not. 

Normally if we don't want to keep a repository upto date, then we would mark it as deprecated, for an example see https://github.com/FourjsGenero/wc_svg/blob/master/README.md which was not required once built-in webcomponents were shipped with 3.10,  but is left up so pre 3.10 customers can use the code.

I just want to pull you up on the question "Are they being desupported? "  and use of the word supported.  Any code in the Github repositories is not part of the supported product.  If it was supported then you would expect to find it in the product, like the vim equivalents in $FGLDIR/vimfiles.

Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero

Rene S.

Yes, the extensions have been removed by intention.
Wy? A new extension is 'in progress'. The removal is caused by avoid any trouble with the old extensions.
The new extension will be published soon, please be patient.

OTH: the old extensions should be available in the meantime.
Rene

Sam F.

Thanks Rene.

Once its out, would you be interested in receiving pull requests on it? main was one I was going to implement on the old extension was Outline and Goto Definition.

Michael L.

Hello Rene & Reuben,

That sounds amazing. :)

It would definitely be appreciated by our developers (until they learn the magic of VIM).

Thanks

Evandro S.

Hello guys

the link to github arent working anymore...

could someone provide these source for me?

Thanks in advance