As title.
You mean syntax highlighting?
The Monkey C plugin should ensure that any file with an .mc extension is properly rendered.
e.g.
Or do you mean beautify/auto-format?
You could beautify as JS and it would look good, I think. (CMD-SHIFT-P > Beautify selection/file > JS)
Yep, generally speaking, vscode will keep our code well-formatted. However, I used to write code in eclipse, in which case there is a lot of "legacy code" that may not be formatted. So I am finding ways to do that.
nk. (CMD-SHIFT-P > Beautify selection/file > JS)
Thanks for your reminder~~
It would be nice if Garmin would include a Monkey C formatter as part of the VS Code extension.
I've created a ticket to discuss this.
It takes time to do it. Prettier is a goods extension for vscode, and we can define a plugin for it.
https://prettier.io/docs/en/plugins.html#developing-plugins Here is it. But some work needs to be done.
I would hope they do it the right way code.visualstudio.com/.../language-server-extension-guide
Be nice if it fully integrated with vs code rather then depending on some other plugin
Still a work in progress, but see forums.garmin.com/.../1391191