All Projects → clarkio → Vscode Twitch Highlighter

clarkio / Vscode Twitch Highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vscode Twitch Highlighter

Vscode Mjml
This repo is archived. MJML preview, lint, compile for Visual Studio Code.
Stars: ✭ 138 (-18.34%)
Mutual labels:  vscode, visual-studio-code, extension
Vs Freemarker
FreeMarker language colorization extension for Visual Studio Code
Stars: ✭ 17 (-89.94%)
Mutual labels:  visual-studio, visual-studio-code, extension
Vscode Simple Vim
Vim extension for VSCode
Stars: ✭ 38 (-77.51%)
Mutual labels:  vscode, visual-studio-code, extension
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+11532.54%)
Mutual labels:  vscode, visual-studio, visual-studio-code
Aura Theme
💅 A beautiful dark theme for your favorite apps.
Stars: ✭ 159 (-5.92%)
Mutual labels:  vscode, visual-studio-code, extension
Vscode Auto Rename Tag
Automatically rename paired HTML/XML tag
Stars: ✭ 161 (-4.73%)
Mutual labels:  vscode, visual-studio-code
Servicestackvs
ServiceStackVS - Visual Studio extension for ServiceStack
Stars: ✭ 117 (-30.77%)
Mutual labels:  visual-studio, extension
Vscode Go
Go extension for Visual Studio Code
Stars: ✭ 2,268 (+1242.01%)
Mutual labels:  vscode, visual-studio-code
Vscode Scss
🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.
Stars: ✭ 128 (-24.26%)
Mutual labels:  vscode, visual-studio-code
Vscode Elastic
Elasticsearch for VSCode
Stars: ✭ 130 (-23.08%)
Mutual labels:  vscode, visual-studio-code
Vscode Auto Close Tag
Auto Close Tag for Visual Studio Code
Stars: ✭ 132 (-21.89%)
Mutual labels:  vscode, visual-studio-code
Vscode Language Pascal
Pascal language extension for Visual Studio Code
Stars: ✭ 117 (-30.77%)
Mutual labels:  vscode, visual-studio-code
Vscode Matlab
MATLAB support for Visual Studio Code
Stars: ✭ 114 (-32.54%)
Mutual labels:  visual-studio-code, extension
Ttv aderaser
TTV AdEraser aims to remove livestream ads as well as add some useful features to our favourite streaming site.
Stars: ✭ 122 (-27.81%)
Mutual labels:  twitch, extension
Micropy Cli
Micropython Project Management Tool with VSCode support, Linting, Intellisense, Dependency Management, and more!
Stars: ✭ 112 (-33.73%)
Mutual labels:  vscode, visual-studio-code
Twitchpotplayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 112 (-33.73%)
Mutual labels:  twitch, extension
Electron React Typescript Webpack Boilerplate
Pre-configured boilerplate for Electron + React + TypeScript + Webpack
Stars: ✭ 146 (-13.61%)
Mutual labels:  vscode, visual-studio-code
Live Share
Real-time collaborative development from the comfort of your favorite tools
Stars: ✭ 1,920 (+1036.09%)
Mutual labels:  visual-studio, visual-studio-code
Vscode Dev Containers
A repository of development container definitions for the VS Code Remote - Containers extension and GitHub Codespaces
Stars: ✭ 2,715 (+1506.51%)
Mutual labels:  vscode, visual-studio-code
Vscode Code Runner
Code Runner for Visual Studio Code
Stars: ✭ 1,332 (+688.17%)
Mutual labels:  vscode, visual-studio-code

Twitch Line Highlighter VS Code Extension

Build Status

A VS Code extension to allow your Twitch viewers to help in spotting bugs, typos, etc. by sending a command in chat that will highlight the line of code they want you to check.

Video

Requirements

In order to use this extension you will need the following things before going to the Getting Started section:

  • An installed version of VS Code
  • A Twitch account for yourself or a separate one to be used as a chat bot (sign up here)

Getting Started

  1. Install the extension from the marketplace

  2. Open your VS Code settings

    • Keyboard shortcut: CTRL/CMD + ,
  3. Type in "twitch" into the search bar

  4. Find the Twitch Highlighter: Channels setting and enter the name of the channel(s) to which you'd like the extension to connect. Example: clarkio If you'd like to connect to more than one channel separate them by commas ,. Example: clarkio,parithon

  5. Save your changes and close that tab. Go back to the Settings UI tab.

  6. Find the Nickname setting. If you are using your own account for the chat bot then enter your account username as the value here. If you created a separate account use that username. Save your changes.

  7. Make sure you're logged in to the Twitch account you wish to authorize the highlighter bot to access in your default browser.

  8. In the status bar, click the "Twitch" button. After clicking it, you'll see a notification that the extension wants to open a URL.

  9. Choose the "Open" option which should open a new tab of your default browser.

  10. Read through the permissions that are being requested for use of this bot/extension and choose "Authorize"

  11. You should then be notified that you can close the browser/tab

  12. Go back to VS Code and you should now see "Disconnected" in the status bar. Click on it to Connect the bot to chat and start listening for highlight commands.

Twitch Commands

To highlight a line, use:

    !highlight <LineNumber> OR !line <LineNumber>

To unhighlight a line, use:

    !line !<LineNumber>

To highlight multiple lines, use the same syntax as above but include a range of lines to highlight:

    !line <StartLineNumber>-<EndLineNumber>

Additionally, you can also include comments:

    !line <LineNumber> This is a comment

Multi-highlight example

Extension Settings

  • twitchHighlighter.channels: A comma separated list of channel name(s) to connect to on Twitch. Example: 'clarkio', Another Example: 'clarkio, parithon'

  • twitchHighlighter.nickname: The username the bot should use when joining a Twitch channel.

    Note: this is required if you'd like to have the bot send join/leave messages in your chat. It also needs to match the Twitch username with which you generated the OAuth token.

  • twitchHighlighter.highlightColor: Background color of the decoration (default: green). Use rgba() and define transparent background colors to play well with other decorations.

      Example: green
    
  • twitchHighlighter.highlightFontColor: Font color of the decoration (default: white). Use rgba() and define transparent background colors to play well with other decorations.

      Example: white
    
  • twitchHighlighter.highlightBorder: CSS styling property that will be applied to text enclosed by a decoration.

  • twitchHighlighter.announceBot: Whether or not the bot should announce its joining or leaving the chat room.

  • twitchHighlighter.joinMessage: The message the bot will say when joining a chat room

  • twitchHighlighter.leaveMessage: The message the bot will say when leaving a chat room

  • twitchHighlighter.showHighlightsInActivityBar: Show the Highlights icon in the activity bar to display the tree view.

  • twitchHighlighter.usageTip: A tip shared by the bot when a user chats: '!line'.

Attribution

Some of the code in this extension has been adapted from the twitchlint extension built by @irth

Known Issues

  • Extension doesn't allow specifying the file to put the highlight in. This is a work in progress.

Release Notes

See CHANGELOG.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].