Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>M1SNew to Visual Studio Code? Get it now.
M1S

M1S

CalDymos

|
88 installs
| (1) | Free
Mach3 Script Language Support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mach3 Script Extension for Visual Studio Code

This extension implements basic language features of Mach3 Script for Visual Studio Code.

English | Deutsch

Features

  • Formatting (via context menu)

  • Outline

  • Completion Outline

  • Goto Definition

  • Hover Hover

  • Signatures Signature

  • Color Information ColorProvider

  • Code snippets

  • Higlight of problems / errors

  • full syntax check via Cypress Enable compiler

  • compile script via cypress Enable Compiler

Functions not yet fully implemented (still in progress)

  • Higlight of problems / errors (diagnostic)

How it works

Formatting

  • Right-click in the code window -> select the context menu entry “Format Document”.
    The indents and spelling of keywords are adjusted in the current document.
    Optionally, comments can also be removed and lines can be wrapped with ':' (see Settings)

Completion

  • For auto-completion, the current code, all include files (#expand),
    the 'objectDefs.m1s' file and the 'GlobalDefs.m1s' file are searched for definitions.

Goto Definition

  • Right click on a variable, procedure or include file, select the context menu entry 'Go To Definition'

Full syntax check

  • Right-click in the code window and select the context menu entry 'full syntax check'.
    The settings 'Mach3Dir' and 'UseScreenSet' must be set correctly.
    It is best to create a new folder '.vscode' in the respective workspace (folder) and set the settings in
    this folder via the 'settings.json' file so that they are only valid for this workspace

    If the error message "Unexpected error, quitting" appears,
    the file 'vscce.exe' must be executed once with administrator rights so that the COM interfaces are registered correctly.

Compile script

  • Right-click in the code window and select the context menu entry 'compile Script'.
    The settings 'Mach3Dir', 'UseScreenSet' and 'OutputFolder' must be set correctly.
    It is best to create a new folder '.vscode' in the respective workspace (folder) and set the settings in
    this folder via the 'settings.json' file so that they are only valid for this workspace

    If the error message "Unexpected error, quitting" appears,
    the file 'vscce.exe' must be executed once with administrator rights so that the COM interfaces are registered correctly.

Contribute

You can support this project through PR with your changes or simply add an issue with your idea/bug.

  • Complete Language Source Documentation
  • Translate
  • ...

References / Thanks

This extension is based on the "VBScript Extension for Visual Studio Code" from serpen.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft