Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1] 2
  Reply  |  Print  
Author Topic: BDL Syntax highlighting in VsCode  (Read 17525 times)
Dave T.
Posts: 6


« 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
Sebastien F.
Four Js
Posts: 509


« Reply #1 on: September 28, 2022, 10:10:20 am »

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.
Four Js
Posts: 1049


« Reply #2 on: September 29, 2022, 01:11:58 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.
Four Js
Posts: 111


« Reply #3 on: September 29, 2022, 12:47:39 pm »

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.
Posts: 6


« Reply #4 on: September 30, 2022, 12:48:07 am »

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.
Posts: 22


« Reply #5 on: September 30, 2022, 05:05:24 am »

Hi Rene,

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

Thanks And Regards
Susobh Sugathan
Jeroni C.
Posts: 17


« Reply #6 on: September 30, 2022, 01:50:35 pm »

Hi,

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

Thanks,
Jeroni
Rene S.
Four Js
Posts: 111


« Reply #7 on: September 30, 2022, 02:41:31 pm »

Try this:

https://github.com/FourjsGenero/vscode-4gl
https://github.com/FourjsGenero/vscode-fglcomp

Read:
https://github.com/FourjsGenero/vscode-4gl#installation
https://github.com/FourjsGenero/vscode-fglcomp#installation

Have fun
Rene S.
Four Js
Posts: 111


« Reply #8 on: October 04, 2022, 03:48:37 pm »

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

New: Added code completion/error detection/syntax highlighting for .per files
Michael L.
Posts: 5


« Reply #9 on: November 24, 2022, 04:44:56 am »

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.
Four Js
Posts: 1049


« Reply #10 on: November 24, 2022, 05:33:26 am »

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.
Four Js
Posts: 111


« Reply #11 on: November 24, 2022, 09:40:10 am »

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.
Posts: 2


« Reply #12 on: November 24, 2022, 11:11:04 pm »

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.
Posts: 5


« Reply #13 on: November 24, 2022, 11:22:34 pm »

Hello Rene & Reuben,

That sounds amazing. :)

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

Thanks
Evandro S.
Posts: 1


« Reply #14 on: March 09, 2023, 05:39:19 pm »

Hello guys

the link to github arent working anymore...

could someone provide these source for me?

Thanks in advance
Pages: [1] 2
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines