Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Mindustry LogicNew to Visual Studio Code? Get it now.
Mindustry Logic

Mindustry Logic

Vortetty

|
6,219 installs
| (0) | Free
Mindustry logic assembly highlighting + (incomplete) Compiler (made by Superstormer)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mindustry Logic

Mindustry logic highlighting + C to MLOG compiler

Read known issues before filing a bug report

Features

Highlighting

Highlights MLOG in the editor.

Semantic highlighting must be enabled, it enables this for the language by default so you'd have to go out of your way to disable it but it does need enabled for this to work.

it's a slight WIP still

Currently implemented highlighting

  • 🗹 read
  • 🗹 write
  • ☐ draw
  • 🗹 print
  • 🗹 drawflush
  • 🗹 printflush
  • ☐ getlink
  • ☐ control
  • ☐ radar
  • ☐ sensor
  • 🗹 set
  • ☐ op
  • ☐ wait
  • ☐ lookup
  • ☐ end
  • ☐ jump
  • ☐ ubind
  • ☐ ucontrol
  • ☐ uradar
  • ☐ ulocate

all others are being worked on and for now use generic highlighting code.

Compilation

Compiles C to MLOG using a modified version of c2logic

Requirements

  • Python 3.8+ (does not support windows py launcher as of now)
  • pycparser (pip install pycparser or pip3 install pycparser)

Known Issues

Highlighting doesn't work in unsaved files unless they were created before the extension started with some themes, highlighting should work in saved files.

There are a few workarounds:

  • Try other themes
  • Select a different theme then go back to your preferred every time
  • add "semanticHighlighting": true to the theme's json file if you know how, this could violate the theme's license so do at your own risk

Ultimately this issue is vscode's fault since even with the language-specific setting enabled there are issues, but there isn't really a way to fix it until one of the following happens:

  • they fix it
  • "semanticHighlighting": true is the default
  • or theme creators start adding "semanticHighlighting": true to their themes

License

Apache 2.0 (see LICENSE for details)

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