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
https://clarkio.com
203 stars 14 forks source link

Relative Lines #80

Closed parithon closed 5 years ago

parithon commented 5 years ago

As pointed out on Twitter by @finnurtest, if you configure vscode to use 'relative' line numbers it would be difficult for viewers to highlight lines accurately. Notice in the example snip below, my cursor is on line 21 but the numbers count up according to the distance from the cursor position. This is controlled by the vscode 'Line Numbers' setting.

image

clarkio commented 5 years ago

I appreciate the work and effort on introducing support for relative line number users (especially for the vim community) but let's hold off on this for now. I think it may introduce some complexity into the project at this moment. What I think we may want to do for this is create a separate extension that focuses on relative line numbers.

Something else to consider is if there are enough programming streamers using relative numbers to drive more demand for this support.