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

TrapScript

TrapScript

|
1 install
| (2) | Free
Syntax colouring, snippets, a file icon, and a Run button for TrapScript (.trap) files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TrapScript for VS Code

Support for TrapScript, a small scripting language written in internet slang, in .trap files:

  • syntax colouring, including we out as a deal's fallback while we and out stay ordinary names
  • the TrapScript icon on .trap files
  • Ctrl+/ comments, bracket matching, and auto-closing quotes
  • snippets: hold, locked, spittin, ong, ongnah, spin, motion, deal
  • a Run button in the editor's title bar, which runs the file with the installed trapscript command in a terminal you can type into, for programs that read input with spill

The Run button needs TrapScript installed so that trapscript is on your PATH. If it's somewhere else, set TrapScript: Path (trapscript.path) to the full path of trapscript.exe.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft