CMD + Shift + P
and enter Command> connect
and type your twitch channel name.
Your viewers will be able to control the opened document by typing the following commands on the chat:
- Insert text on cursor:
!write hello world
- Replace all occurences with a word:
!replaceAll const var
- Replace line 32 with some text:
!replaceLine 32 this is the new line
- Deletes a specific line:
!deleteLine 32
- Moves cursor to line 2 character 5:
!moveTo 2 5
- Creates a newline where the cursor is at:
!newline
- quack:
!quack