Title: BDL Syntax highlighting in VsCode Post by: Dave T. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Sebastien F. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Reuben B. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. 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. Title: Re: BDL Syntax highlighting in VsCode Post by: Dave T. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Susobh S. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Jeroni C. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Michael L. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Reuben B. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Sam F. 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. Title: Re: BDL Syntax highlighting in VsCode Post by: Michael L. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Evandro S. 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 Title: Re: BDL Syntax highlighting in VsCode Post by: Sebastien F. on March 16, 2023, 12:25:53 pm Evandro,
Sorry for the late answer, please wait for next FGLGWS Maintenance Release. It should be available very soon. Seb Title: Re: BDL Syntax highlighting in VsCode Post by: Dave T. on April 14, 2023, 02:21:29 am Hey Seb,
Were you including the Vscode config files (3.20.18?), can see the vim files but no vscode :-( Cheers Title: Re: BDL Syntax highlighting in VsCode Post by: Reuben B. on April 14, 2023, 02:40:44 am Dave,
There has not been an FGL release (3.20 or 4.01) since Sebs comment 4.01.02 21st October 2022 3.20.18 10th March 2023 Sebs comment 16th March 2023 Reuben Title: Re: BDL Syntax highlighting in VsCode Post by: Dave T. on April 14, 2023, 02:47:25 am Whoops missed that.
Can't wait for the next release then :-) Title: Re: BDL Syntax highlighting in VsCode Post by: Sebastien F. on April 14, 2023, 07:40:02 am Hello!
VS Code extension will only be available in FGLGWS 4.01 and + We do our best to ship 4.01.03 MR as soon as possible. Seb Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. on May 12, 2023, 12:26:50 pm You might have noticed: fgl 4.01.03 has been released. This version is (temporarily) bundled with the vscode extension genero-fgl-0.0.14.vsix
Install from the command-line by code --install-extension $FGLDIR/lib/genero-fgl-0.0.14.vsix. Please notice: some features require fgl 4.01.03: debug, hover, goto-definition, show references, bread-crumps. The features format, diagnostic and complete work with older versions (including 3.20). Syntax highlighting does not require an fgl installation. Rene PS: If you notice "diagnostic is not working on Windows" - that's a known issue, ask for genero-fgl-0.0.15.vsix. Title: Re: BDL Syntax highlighting in VsCode Post by: Dave T. on July 25, 2023, 01:59:14 am Hi all,
I can't seem to get the extension working... :-( It seems to install ok (apart from the deprication warning): C:\temp> code --install-extension genero-fgl-0.0.14.vsix Installing extensions... (node:12872) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.fro m() methods instead. (Use `Code --trace-deprecation ...` to show where the warning was created) Extension 'genero-fgl-0.0.14.vsix' was successfully installed. When viewing the runtime status of the extension it shows 'Not yet activated' and I can't see it in the list of language extensions. Any help would be appreciated. Cheers VScode 1.80.1 Title: Re: BDL Syntax highlighting in VsCode Post by: Sebastien F. on July 25, 2023, 09:15:12 am Hi David,
Please contact the support to get help. Seb Title: Re: BDL Syntax highlighting in VsCode Post by: Rene S. on July 31, 2023, 10:54:41 am Hello, try this the verify the extension (on the command line):
Code: $ code --list-extensions or better: Code: $ code --list-extensions --show-versions The 1st command should report fourjs.genero-fgl, the 2nd command should also report the version of the extension. Notice: The extension will be activated when opening a .4gl or a .per file in the editor: Activation status after opening a .4gl file: Code: Activation Event:onLanguage:4gl |