Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>IC10 Safe MinifierNew to Visual Studio Code? Get it now.
IC10 Safe Minifier

IC10 Safe Minifier

FlorpyDorp

|
2 installs
| (0) | Free
Safely minifies Stationeers IC10 code: removes indentation/blank lines, replaces aliases/defines, collapses spaces, preserves HASH(...) directives.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

IC10 Safe Minifier (VS Code Extension)

Command: IC10: Safe Minify current file

  • Minifies the active .ic10 file into a sibling file named minified_<original>.
  • Safe transformations: remove indentation/blank lines, inline simple defines, replace aliases with r-registers, remove unused labels, collapse spaces outside quotes, preserve HASH(...) directives and quoted strings.

Use

  • Open an .ic10 file
  • Press Ctrl+Shift+P → IC10: Safe Minify current file
  • Or press Ctrl+Alt+M

Develop

  • Press F5 in VS Code to start an Extension Development Host and test the command.

Package and publish

  1. Install vsce (packager): npm install -g @vscode/vsce
  2. From this folder, create a .vsix: vsce package
  3. Create a Publisher on the VS Code Marketplace and publish: vsce publish

Update package.json publisher field before publishing.

Settings

  • ic10SafeMinifier.stripComments (boolean, default true): Strip full-line and inline comments (# ...) outside quotes while preserving HASH(...) directive lines.

License

MIT — see LICENSE file.

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