artbycrunk / vscode-maya

A Visual Studio Code extension with support for coding for Maya.
MIT License
45 stars 9 forks source link

How can I enable formatting with this extension... #23

Open AlanEdd opened 3 years ago

AlanEdd commented 3 years ago

I am just wondering how to code format with this extension in vscode, can't figure it out. Does this extension include formatting?

I posted a question on stackoverflow https://stackoverflow.com/questions/65288089/format-another-language-type-mel-using-js-formatting-in-vscode

Trying to use formatting of other languages on .mel files doesn't seem to work, I tried to use Perl, TCL but nothing seems to get formatting to work in vscode for .mel files. I just keep getting "no formatter installed for .mel" etc. Any pointers would be great, thanks. Alan.

artbycrunk commented 3 years ago

Hi @AlanEdd, apologies for the late reply,

The plugin was not originally designed to support auto-formatting via vscode, but let me have a quick check and see if there is an easy way to add this functionality in.

AlanEdd commented 3 years ago

Hey there! just wondering if there was any resolution on this? Not to worry, I am using an awesome plugin Charcoal Editor for Maya, which is amazing except for one item, code collapse. Thank you for bringing great plugins to the community.