Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Streamer.bot C#New to Visual Studio Code? Get it now.
Streamer.bot C#

Streamer.bot C#

FajitaOfTreason

|
4 installs
| (0) | Free
Snippets, Templates and Project Files to make writing Streamer.bot C# easier
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Streamer.bot C# for Visual Studio Code

Write Streamer.bot C# code with up to date IntelliSense from your Streamer.bot installation.

Features

AutoComplete

Combines autocomplete for standard C# methods with autocomplete for Streamer.bot specific code by referencing your local Streamer.bot installation, ensuring that it does not get out of date.
Screenshot showing a Streamer.bot specific autocomplete dropdown on the CPH object in VS Code

Snippets

Snippets for common actions!
Animation of snippets being used to get an argument, get a global, and set a global
The following snippets are available:

  • get-global
  • set-global
  • get-argument
  • if-get-argument (if statement to ensure argument exists)
  • set-argument
  • log (Debug, Error, Warn, Info, Verbose)
  • get-random-integer (in range, inclusive)
  • get-random-double (between 0 and 1)

Guided Project Creation

The New Streamer.bot C# Project command lets you easily create a new Streamer.bot C# project file with the correct references by automatically detecting Streamer.bot's location if it's pinned to the start menu or taskbar, or by browsing for your current Streamer.bot location
Creating a new Streamer.bot C# project using the location pinned to the start menu

New File Creation with Template

Quick creation of new C# files with a starting template when inside a Streamer.bot project directory with the New Streamer.bot C# File command, also accessible via Create: New File... or the context menu in the Explorer View Creating a new Streamer.bot file via the New File Menu, New Streamer.bot C# File command, or context menu

Copy Full File Contents into Streamer.bot

Preprocessor directives allow multiple C# files in the same project without class name conflicts, while still allowing the entire file to be copied into Streamer.bot's editor. This is kept minimal by including the Streamer.bot specific usings in the project file instead of each cs file.
Section of code showing preprocessor directives to use a unique class name when editing in VS Code

Keep your editor looking clean with automatic folding of the preprocessor directive sections
Screenshot of the new Streamer.bot C# file with the preprocessor directives sections hidden by folding rules

Requirements

Requires the C# Extension for IntelliSense.

Extension Settings

This extension contributes the following settings:

  • streamer-bot-csharp.autoFold: Auto-Fold sections of template containing the preprocessor directives
  • streamer-bot-csharp.newFileDir: Directory into which new C# files will be created

Acknowledgements

This extension is my attempt to add a layer of convenience to a fantastic tutorial on using VS Code to write Streamer.bot C#, written by Rondhi.

Known Issues

No current issues.

Release Notes

1.0.0

Initial release of the Streamer.bot C# extension

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