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
Contains two classes. The HighlighterNode class represents the nodes in the TreeView and TwitchHighlighterDataProvider is the data provider for the view which generates the nodes when first viewed or whenever the refresh function is called.
resources/twitchHighlighterIcon.svg
The icon used on the Activity Bar.
Changed Files
src/package.json
I added the necessary sections to register the Activity Bar and TreeView
I added some commands to refresh the TreeView and remove the highlights from the nodes context-menu.
I also put some conditions to never show these commands in the command palette
Fixes #2
Added Files
src/twitchhighlighterTreeView.ts
Contains two classes. The
HighlighterNode
class represents the nodes in the TreeView andTwitchHighlighterDataProvider
is the data provider for the view which generates the nodes when first viewed or whenever the refresh function is called.resources/twitchHighlighterIcon.svg
The icon used on the Activity Bar.
Changed Files
src/package.json
I added the necessary sections to register the Activity Bar and TreeView I added some commands to refresh the TreeView and remove the highlights from the nodes context-menu. I also put some conditions to never show these commands in the command palette
src/extension.js
I registered the commands and the TreeView.