Skip to main content

Hi,

Today, I share a basic code which build helpfull components used by vs code &  .rmv/documentation from subr of an account.

  • .rmv/documentation/universe/sourcefile_custom.json to define {brief, detail, signature} info SignatureHelp, CustomizeDoc 
  • .rmv/documentation/universe/sysid/subroutineId.md which contain documentation issued from comment at beginning of the subr (try to convert to markdown)  CustomizeDoc 
  • .vscode/sourcefile.code-snippets to define {prefix, description, body} info of each subr. Snippets

it's written on uv linux, you can adapt it. 

* SYNTAX : IN.VSC.SUBR2SNIP SYSID xx FILES file[,file[,]] {BASEPATH '/dos/vscode/rmv_defn/documentation/universe'} [LIST savedlist[,savedlist[,]]]
SYSID refer to SB+ system ; if you do not use it, set it to a word which identify your app 
BASEPATH is the destination of result files
it uses PYTHON to sort the json files (the plateform python, not u2Python)
it uses zip to complete the distribution
@Chao Han, please try it to build large doc/md/signature defn and test perf of the rocket-mvbasic extension ;-)
Enjoy.


------------------------------
Manu Fernandes
------------------------------

Hi,

Today, I share a basic code which build helpfull components used by vs code &  .rmv/documentation from subr of an account.

  • .rmv/documentation/universe/sourcefile_custom.json to define {brief, detail, signature} info SignatureHelp, CustomizeDoc 
  • .rmv/documentation/universe/sysid/subroutineId.md which contain documentation issued from comment at beginning of the subr (try to convert to markdown)  CustomizeDoc 
  • .vscode/sourcefile.code-snippets to define {prefix, description, body} info of each subr. Snippets

it's written on uv linux, you can adapt it. 

* SYNTAX : IN.VSC.SUBR2SNIP SYSID xx FILES file[,file[,]] {BASEPATH '/dos/vscode/rmv_defn/documentation/universe'} [LIST savedlist[,savedlist[,]]]
SYSID refer to SB+ system ; if you do not use it, set it to a word which identify your app 
BASEPATH is the destination of result files
it uses PYTHON to sort the json files (the plateform python, not u2Python)
it uses zip to complete the distribution
@Chao Han, please try it to build large doc/md/signature defn and test perf of the rocket-mvbasic extension ;-)
Enjoy.


------------------------------
Manu Fernandes
------------------------------

Hi, Manu.

Thanks for the update for this one and I will double check with engineers and see if we can put an enhancement for this, thanks.

Best Regards.

Charles.



------------------------------
Chao Han
Rocket Internal - All Brands
Dalian CN
------------------------------