I'm starting to write some 'Custom' documentation about our main subroutines, then we can receive documentation about it when hover on the name.
So, I understand how to write the custom.json and the detail file with .md format. yes, it works.
Well, I have a question about the organisation of my savings customs.json / *.md.
We work with multiple account where sources are synced locally the structure is like :
.localDev
.LocalDevUtils
.LocalDevAppAccount1
.LocalDevAppAccount2
in each sub-directory of LocalDev, we have a 'vscode workspace' and we found directories :
- .vscode
- .rmv
- BP
- ...
"catalog": {
"isSearchAllDirs": true,
"programDirs": [
{"fileName": "BP"},
{"account": "UTILS", "fileName": "BP" },
{"account": "APP2", "fileName": "BP"}
]
},
"accounts": [
{"name": "UTILS", "path": ".\\LocalDev\\Utils"},
{"name": "APP2", "path": ".\\LocalDev\\AppAccount2"}
]
So, If I define a funcname into .LocalDevUtils.rmvdocumentationuniversecustom.json, when I work on workspace .LocalDevUtils , the hover show correctly my documentation. Yesss, it works.
So, If I work on workspace .LocalDevAppAccount1 , and I use a subroutine defined into UtilsBP then semantic found it, I can use Peek definition, it open it correctly. Fine !
BUT, the documentation of my Utils is not displayed when I hover the name of my subr .
It seems, I need to copy/merge all my 'custom.json' defn on all workspace !
Is it by design or do you forget to merge db.mvbasic.json>accounts [*].../documentation at runtime ?
Well, Yes, I can define custom.json like a 'dictionnary' of my functions and save all the .md files on a central place but it is not really easy to maintain.
do you have any sugg to optimize the behavior when multiple app use func of each other ?
with kind regards.
manu FV