Hi sb users,
I'll share a vsCode extension to edit Sbparagraph code.
Use a trigger on XXPROCESS to sync P type in a Directory.
Use sftp/sync to have it on the client
Edit your code
Use a ssh RUN program to sync back, copy into XXPROCESS, regen the process (like f2), run GC. It return ProblemMatcher info.
Capabilities : syntaxe coloris, all sb common vars, all SBExpression, all sbSubrs, Formater (indent), Hover, SignatureHelp.
You can provide custom intellisensitems for Hover and Signature Help.
I share all my expérience with pleasure.
Manu
------------------------------
Manu Fernandes
------------------------------
Hi sb users,
I'll share a vsCode extension to edit Sbparagraph code.
Use a trigger on XXPROCESS to sync P type in a Directory.
Use sftp/sync to have it on the client
Edit your code
Use a ssh RUN program to sync back, copy into XXPROCESS, regen the process (like f2), run GC. It return ProblemMatcher info.
Capabilities : syntaxe coloris, all sb common vars, all SBExpression, all sbSubrs, Formater (indent), Hover, SignatureHelp.
You can provide custom intellisensitems for Hover and Signature Help.
I share all my expérience with pleasure.
Manu
------------------------------
Manu Fernandes
------------------------------
Hi Manu,
sounds very interesting, thanks for sharing!
At the moment, we have a SB+ screen where we can select from XXPROCESS and export/import it via SBClient.
It will then automatically opened in Notepad++, where I've created some syntax highlighting for .SBP files (mostly complete).
Inside SB+, we also have a little version control so that we can switch back to an older version. (saves the complete file instead of a diff)
I've always dreamed about having all changes in XXPROCESS tracked in Git and editing them in VS Code instead of Notepad++, but I haven't found the time to get it done yet.
I love your idea of using a trigger in XXPROCESS - that way, "inside" changes could also be reflected in Git.
If you already have something working, it would be great to follow your path and try it out.
Greetings,
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hi Manu,
sounds very interesting, thanks for sharing!
At the moment, we have a SB+ screen where we can select from XXPROCESS and export/import it via SBClient.
It will then automatically opened in Notepad++, where I've created some syntax highlighting for .SBP files (mostly complete).
Inside SB+, we also have a little version control so that we can switch back to an older version. (saves the complete file instead of a diff)
I've always dreamed about having all changes in XXPROCESS tracked in Git and editing them in VS Code instead of Notepad++, but I haven't found the time to get it done yet.
I love your idea of using a trigger in XXPROCESS - that way, "inside" changes could also be reflected in Git.
If you already have something working, it would be great to follow your path and try it out.
Greetings,
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hi Thomas,
Sure
I'll put the basics/paragraphs into the extension resources and translate all our documentation to english (actually in French).
Regards.
------------------------------
Manu Fernandes
------------------------------
Hi Thomas,
Sure
I'll put the basics/paragraphs into the extension resources and translate all our documentation to english (actually in French).
Regards.
------------------------------
Manu Fernandes
------------------------------
Thanks a lot, Manu - I can't wait to see your approach and learn from it.
Cheers,
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Thanks a lot, Manu - I can't wait to see your approach and learn from it.
Cheers,
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hello Thomas,
I invite you to load the extension release 1.0.4 efv-infodata.sbparagraph
I tried to put a maximum of doc, settings, usage,.. in the readme
You'll found the D3 & UV resources in the %userprofile%\\.vscode\\extensions\\efv-infodata.sbparagraph-1.0.4\\Resources
Feel free to discuss about it.
Enjoy
------------------------------
Manu Fernandes
------------------------------
Hello Thomas,
I invite you to load the extension release 1.0.4 efv-infodata.sbparagraph
I tried to put a maximum of doc, settings, usage,.. in the readme
You'll found the D3 & UV resources in the %userprofile%\\.vscode\\extensions\\efv-infodata.sbparagraph-1.0.4\\Resources
Feel free to discuss about it.
Enjoy
------------------------------
Manu Fernandes
------------------------------
Great Job Manu,
I have activated the VS-Code Extension today - Works Great and looks amazing.

The next few Days I wil try to get the automatic sync with XXprocess working, but at the moment I unfortunately have some urgent Program-Changes to make before this.
Many thanks, an I keep you informed how far I will come...
Greetings
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hello Thomas,
I invite you to load the extension release 1.0.4 efv-infodata.sbparagraph
I tried to put a maximum of doc, settings, usage,.. in the readme
You'll found the D3 & UV resources in the %userprofile%\\.vscode\\extensions\\efv-infodata.sbparagraph-1.0.4\\Resources
Feel free to discuss about it.
Enjoy
------------------------------
Manu Fernandes
------------------------------
Hi Manu,
still only using your extension for syntax-highligting and code formatting in vs-code but love it for that.
One problem I have found so far:
if you write
IF <exp> THEN ;* comment
The intendention fails to recognize the line as an if statement
Example:

For WHILE BEGIN CASE ... this works.

I have tried to fix it in the sbparagraphlanguage-configuration.json but changes here seem to be ignored.
-> At the moment I add THEN after the comment at the end of the line as a workaround...
Greetings
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hi Manu,
still only using your extension for syntax-highligting and code formatting in vs-code but love it for that.
One problem I have found so far:
if you write
IF <exp> THEN ;* comment
The intendention fails to recognize the line as an if statement
Example:

For WHILE BEGIN CASE ... this works.

I have tried to fix it in the sbparagraphlanguage-configuration.json but changes here seem to be ignored.
-> At the moment I add THEN after the comment at the end of the line as a workaround...
Greetings
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
Hi Thomas
You are right, we do not use these syntax. I'll fix it next week.
Did you try the Intellisenseitems.json customer definition ?
With kind regards
------------------------------
Manu Fernandes
------------------------------
Hi Manu,
still only using your extension for syntax-highligting and code formatting in vs-code but love it for that.
One problem I have found so far:
if you write
IF <exp> THEN ;* comment
The intendention fails to recognize the line as an if statement
Example:

For WHILE BEGIN CASE ... this works.

I have tried to fix it in the sbparagraphlanguage-configuration.json but changes here seem to be ignored.
-> At the moment I add THEN after the comment at the end of the line as a workaround...
Greetings
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------
hi Thomas,
You can update the extension. release 1.0.6 recognize the comments after IF ... THEN/ELSE and END ELSE and ELSE to increment the indentation of the following lines.
With kind regards.
------------------------------
Manu Fernandes
------------------------------
hi Thomas,
You can update the extension. release 1.0.6 recognize the comments after IF ... THEN/ELSE and END ELSE and ELSE to increment the indentation of the following lines.
With kind regards.
------------------------------
Manu Fernandes
------------------------------
Thank's again Manu, works perfekt.
Greetings
Thomas
------------------------------
Thomas Ludwig
System Builder Developer
Rocket Forum Shared Account
------------------------------