mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
246 stars 16 forks source link

tlc support #115

Closed SpieringsAE closed 8 months ago

SpieringsAE commented 8 months ago

I work a lot with tlc files related to level 2 s functions, but working with them can be a bit of a hassle, there is one plugin for it that already exists but its very lacking in functionality.

It would be great if someone who actually knows the intrinsics (so mathworks) could provide proper support for it.

nickchoi-mw commented 8 months ago

Thanks for the feedback! To better understand your workflow, can you provide some more information regarding how editing TLC files fits into your overall workflow in VS Code?

In any case, this is definitely an enhancement request that we will pass along to the teams that develop the TLC and S-Function infrastructure for generating code from Simulink models. I am going to create the enhancement request internally with those teams to consider for a potential future release and will close this issue. The internal request will point to this issue so please feel free to add any additional feedback here.

SpieringsAE commented 8 months ago

Thank you for the response, I hope it turns out to become something. I help maintain an open source blockset for a set of embedded linux controllers here. (tlcs can be found in blockset/blocks) To interface with the hardware I use s-functions as they allow me to write the c code necessary for it. I think it will probably be difficult to get very tight integration, but having linting for the tlc directives would already be a great help.

nickchoi-mw commented 7 months ago

Thanks for sharing more info on your workflow!