Skip to content

Commit ffcc8b3

Browse files
add link to streamerbot csharp vscode extension (#401)
* add sb csharp vscode extension info to vscode setup page * simplify extension description * Streamer.bot --------- Co-authored-by: Whipstickgostop <8366326+Whipstickgostop@users.noreply.github.com>
1 parent da88c17 commit ffcc8b3

1 file changed

Lines changed: 20 additions & 5 deletions

File tree

streamerbot/3.api/3.csharp/1.recipes/visual-studio-code.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ icon: mdi:microsoft-visual-studio-code
55
ogImage:
66
icon: mdi:microsoft-visual-studio-code
77
---
8+
# Streamer.bot C# Extension
9+
10+
This extension automates the process of setting up a Streamer.bot C# project directory with IntelliSense, while also providing hover documentation for CPH methods. Installation includes the base C# extension dependency.
11+
12+
::card-group
13+
::card{title="Visual Studio Code" icon=mdi:microsoft-visual-studio-code to="https://code.visualstudio.com/download"}
14+
Follow the installation instructions for your operating system
15+
::
16+
17+
::card{title="Streamer.bot C# Extension" icon=mdi:language-csharp color=info to="https://marketplace.visualstudio.com/items?itemName=fajita-of-treason.streamer-bot-csharp"}
18+
Write Streamer.bot C# code with IntelliSense and documentation
19+
::
20+
::
21+
22+
# Manual Setup
823

924
This tutorial provides a general step-by-step guide on setting up Visual Studio Code (VS Code) for writing C# code for Streamer.bot.
1025

@@ -13,12 +28,12 @@ By following these instructions, you'll be able to write code with linting, whic
1328
## Prerequisites
1429

1530
::card-group
16-
::card{title="Visual Studio Code" icon="mdi:microsoft-visual-studio-code" to="https://code.visualstudio.com/download"}
31+
::card{title="Visual Studio Code" icon=mdi:microsoft-visual-studio-code to="https://code.visualstudio.com/download"}
1732
Follow the installation instructions for your operating system
1833
::
1934

20-
::card{title="VSCode C# Extension" icon="vscode-icons:file-type-csharp" to="https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp"}
21-
This is the necessary extension for C# development and includes the .NET Install Tool
35+
::card{title="VSCode C# Extension" icon=vscode-icons:file-type-csharp to="https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp"}
36+
This is the base extension for C# development and includes the .NET Install Tool
2237
::
2338
::
2439

@@ -89,7 +104,7 @@ Open the `Explorer` view by selecting `View > Explorer` from the menu bar, or us
89104
<Reference Include="System.Web" />
90105
<Reference Include="System.Net.Http" />
91106

92-
<!-- Uncomment the following line to reference all dlls in the streamerbot directory -->
107+
<!-- Uncomment the following line to reference all DLLs in the streamerbot directory -->
93108
<!-- <Reference Include="$(StreamerBotPath)/**/*.dll" /> -->
94109
</ItemGroup>
95110
</Project>
@@ -108,7 +123,7 @@ Do not use quotes around your Streamer.bot directory path, even if it contains s
108123
**Notes about `StreamerBot.csproj`**
109124
- This file includes the Streamer.bot using statements in every `.cs` file automatically
110125
- This file configures the project as a `.NET Framework 4.8.1` project
111-
- To point to your own Streamer.bot dlls, replace the contents of `<StreamerBotPath>` with the path to your own Streamer.bot directory (containing `Streamer.bot.exe` and `.dll` files)
126+
- To point to your own Streamer.bot DLLs, replace the contents of `<StreamerBotPath>` with the path to your own Streamer.bot directory (containing `Streamer.bot.exe` and `.dll` files)
112127
::
113128

114129
### Create a .cs File

0 commit comments

Comments
 (0)