artbycrunk / vscode-maya

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

Now allows sending complete files + avoids global variable scope pollution + added .editorconfig #1

Closed ziriax closed 5 years ago

ziriax commented 5 years ago

Thanks a lot for this extension!

We're developing Maya2glTF, and we need to do a lot of MEL coding, so this extension looks great.

I noticed that I was unable to send complete files to Maya on Windows (not sure about other OSes). This was also an issue with the MayaPort extension.

As a workaround, I write all the text to a temp file, and execute that file in Maya by scripting it.

I also placed selected text between { } to avoid global variable scope pollution.

I also added .editorconfig, because my personal config is spaces instead of tabs, so having that helps for other contributors.

Not sure if this is useful for you, but for me, this patch is essential 😉

Keep up the great work!

artbycrunk commented 5 years ago

oh man i totally missed your PR, sorry about that, can you help resolve and merge..

artbycrunk commented 5 years ago

have merged this into master, after resolve.. works great. Thanks for your help.

ziriax commented 5 years ago

Oh sorry I completely forgot about this!