GithubHelp home page GithubHelp logo

nimaa713 / vscode-maya Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artbycrunk/vscode-maya

0.0 0.0 0.0 1.97 MB

A Visual Studio Code extension with support for coding for Maya.

License: MIT License

TypeScript 100.00%

vscode-maya's Introduction

Maya Extension for Visual Studio Code

Version Installs Downloads Ratings

Average time to resolve an issue Percentage of issues still open

A Visual Studio Code extension with support for coding for Maya.

Features

  • Autocomplete MEL commands as you type ( along with flag info )

    Autocomplete MEL commands as you type

  • Autocomplete MEL variables as you type

    Autocomplete MEL variables as you type

  • Send code to Maya via command port (MEL or Python).

    Send code to Maya via command port

  • Syntax Highlight MEL scripts.

  • Support auto closing brackets, quotes and ticks

    Syntax Highlight MEL scripts

Useful commands

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

Command Description
Maya: Send Python Code to Maya Send Python code from current editor in Maya.
Maya: Send MEL Code to Maya Send MEL code from current editor in Maya.

You can also select a block of code in the editor and Right-click -> Send Code to Maya, this is based on the current working language (Mel or Python).

Opening the correct ports for Send to Maya Commands.

To open the correct ports in maya, you can use the following code.

Note: If your using a extension version higher than 0.9, then MEL and Python code use the same port in maya.

In the Maya script editor MEL Tab.

commandPort -name "localhost:7001" -sourceType "mel" -echoOutput;

Snippets

Prefixes Description
if Code snippet for an if statement
if/else Code snippet for an if statement with else
elseif Code snippet for an else if
else Code snippet for an else
do/while Code snippet for a do while loop
switch/case Code snippet for a switch case
proc Code snippet for a procedure
proc(global) Code snippet for a global procedure
for/in Code snippet for a for loop
for Code snippet for a for loop with counter
while Code snippet for a for while loop

Requirements

Autodesk Maya tested using Maya 2016 Windows and Linux but should work with all versions.

Issues, feature requests, and contributions

  • If you come across a problem with the extension, please file an issue
  • Contributions are always welcome!
  • Any and all feedback is appreciated and welcome!
    • If someone has already filed an issue that encompasses your feedback, please leave a ๐Ÿ‘/๐Ÿ‘Ž reaction on the issue
    • Otherwise please file a new issue

Release Notes

See CHANGELOG.md

See Recent Releases

Enjoy!

vscode-maya's People

Contributors

artbycrunk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.