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

Minsc

Asindu Drileba

|
1 install
| (0) | Free
VSCode Extension for Bitcoin's Minsc Programming language & Miniscript Policy Language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Minsc VSCode Extension

VSCode Extension for Bitcoin's Minsc Programming language

Minsc is a high-level scripting language for expressing Bitcoin Script spending conditions. It is based on the Miniscript Policy language, with additional features and syntactic sugar sprinkled on top, including variables, functions, infix notation, and more.

Features

  • [x] Syntax highlighting
  • [x] Comment toggling
  • [x] Auto closing
  • [x] Auto complete
  • [x] Code Snippets
  • [x] Hover Messages
  • [x] Icon support for .minsc files
  • [ ] Compile to Script Opcodes
  • [ ] Analyze Minsc code
  • [ ] Linting, Warning & Error Messages

Installation

You can search "Minsc" in the extensions panel on VSCode or VSCodium. However, simply using the .minsc file extension in VSCode or VSCodium should prompt installation of the extensions.

Editor Installation URL
VSCode VSCode Market Place
VSCodium Open VSX Repository

For .vsix build files in case you need a specific version check out the .vsix release file list.

Usage

Available features list.

  1. Syntax highlighting
  2. Comment toggling
  3. Autocomplete
  4. Code Snippets
  5. Hover Messages

Syntax highlighting

Name your files with a .minsc file extension and then VSCode (or VSCodium) will automatically recognize them. Syntax highlighting and the Minsc logo will be applied automatically.

Comment toggling

Use the keyboard combination's below to convert an entire line into a comment or code;

OS Comment Shortcut
MacOS ⌘ + /
Windows, Linux Ctrl + /

Autocomplete

Simply type the first character of any keyword and a list of relevant keywords will drop down at the bottom. Select the one your looking for.

Code Snippets

Start by typing ms:, and you will see a list of code snippets for commonly used Bitcoin Scripts, like hash locks, time locks and multi-sig schemes.

Hover Messages

To learn more a Minsc keyword, hover your cursor over the keyword and a description of what it is about will be displayed.

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