v3.0.0 #2
Replies: 5 comments 1 reply
-
Hi Do you know how I can provide documentation for DLM functions in such a way that show up in vscode? Most of the software I create for IDL takes the form of binary DLMs bundling existing C code. Thanks, |
Beta Was this translation helpful? Give feedback.
-
That's a great question, and one that we have thought about, but we don't have anything implemented yet. We actually have a couple of use cases for this: SAVE files and anything that comes from external sources like DLLs and DLMs. Would you be up for a workflow like this?
|
Beta Was this translation helpful? Give feedback.
-
That would be quite okay with me. Currently I include IDL style comments in the glue code. Maybe these could be copied out by a build script. Right now I put to docs on a wiki which is okay I guess, but they're not integrated into dev tools where they're needed. Thanks for thinking about this. It would be gratifying see help for DLM functions (and maybe structures?) within VSCode. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the link to your code! The docs that we support in the extension follow the IDLDoc RST format (we have some backwards compatibility with the original IDLDoc format). That means there would need to be some changes to your docs style. For reference, here's some links showing how we documented the IDL code that is included as a part of the extension: Procedure: vscode-idl/idl/vscode/notebooks/idlnotebook/idlnotebook__define.pro Lines 103 to 113 in 0fa8b8c Functions: vscode-idl/idl/vscode/notebooks/idlnotebook/idlnotebook__define.pro Lines 204 to 214 in 0fa8b8c Structure definitions in the "__define" routine: vscode-idl/idl/vscode/notebooks/idlnotebook/idlnotebook__define.pro Lines 444 to 507 in 0fa8b8c |
Beta Was this translation helpful? Give feedback.
-
Appreciate the pointers! I don't mind switching over the comment style at all, just happy to have a supported standard to follow. Will refer back to this discussion before I release the next version. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Official release of the extension! See CHANGELOG and main README for more information.
This discussion was created from the release v3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions