How to use objectscript.export.addCategory #1279
-
|
Hello, I'm having trouble with this setting. My context and reference is https://github.com/intersystems-community/intersystems-iris-dev-template.
Thanks for your help. I have read https://intersystems-community.github.io/vscode-objectscript/settings/ but I can't find my answer. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@mdavidovichHst In your example, you need |
Beta Was this translation helpful? Give feedback.
-
|
@isc-bsaviano Thanks, Brett! This makes sense now, I was thinking about it backwards. Not entirely starting from scratch here. Just seeing if I can organize my code into this template to have a sandbox to work with for containerization. All our routines are in one folder plus I have a ton a CSP files, so I think it still make sense to keep src/cls and src/rtn and src/csp. |
Beta Was this translation helpful? Give feedback.
@mdavidovichHst In your example, you need
addCategoryto betrue, since your folder structure has the category layer. My personal opinion is that the category folders don't add any value, so if you're starting from scratch I would suggest setting it tofalse. Your classes and routines will be put in the same folder if they're in the same package.