ScriptSpot home

Visual Studio Code - MaxScript support

Downloads

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
1.x
Author’s update date
Legacy votes
6
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

Atelier Bump

Ariel G

More by this author
MaxScript language support

Autodesk 3ds Max Scripting language (MaxScript) support for vs code.

Features

  • Syntax highlight.
  • Code autocompletion; for keywords, primitives, generic functions, structDefs, interfaces and classes.
  • Snippets for most used code blocks.
  • Customized theme to match MaxScript elements diversity.
  • Help command (*MaxScript help. Accessible from the right-click menu.*): Select a keyword and open related online documentation.
  • Basic implementation of "Go to" and code navigation.

Executing MaxScript

  • MXSPyCOM project allow for editing & execution of 3ds Max MaxScript and Python files from external code editors.
  • Get it here: [MXSPyCOM by Jeff Hannna](https://github.com/JeffHanna/MXSPyCOM)
  • Follow the configuration guide to register the COM server.
  • Set up a vscode task:

 --json { "version": "0.1.0", "command": "C:/MXSPyCOM/MXSPyCOM.exe", "isShellCommand": false, "args": ["-f"], "showOutput": "always", "tasks": [ { "taskName": "Execute in Max", "args": ["${file}"], "suppressTaskName": true } ] } 

  • Run the task, enjoy the 3ds max listener throwing errors.

Contribute

GitHub

Note: MaxScript Structure is to say at least, chaotic. I've done my best to organize structs, classes, interfaces and so on. However the grammar is usable enough.

Setup & notes

Extension name: Language MaxScript
Install in vs code : ext install language-maxscript

Comments (7)
Felipe Nogueira

How do i get Fn to get proper highlighting in my VS code currently Fn and struct are both just plain text.

Ariel G

.

Thanks. That would be nice a nice addition, but is beyond my knowledge and the time I can spend learning how to do it... Easy answer: a skilled JS/TypeScript programmer.
Regards.

Martin Breidt

Code navigation?

Nice extension, thank you!

What would it take to enable the Code Navigation features for MAXScript? I am mostly interested in the 'Go to implementation' function.

fajar

Thanks. Done now.

fajar

can you guide me how to "Set up a vscode task" ?

Thanks