News for hackers. Stuff that matters.
Re:Visual Studio Code 1.5 by alfanick on Thursday September 08, 2016 @04:15PM (#12456861)
Thanks from a user ;) I cannot use any editor without vim keybindings, furthermore I love "relativenumber", however VSCode gives no API for relative numbers (there is some hacky gutter images extension, but it is really hacky, slow and bad looking). I've made a fork with relative numbers built-in https://github.com/alfanick/vscode. Not going to do pull request, at least not yet - unit testing and i18n required.

BTW I do not use TypeScript (or JS), but it was quite easy to write, still I was quite surprissed how messy VS Code codebase is.

Re:Visual Studio Code 1.5 by johnfn on Thursday September 08, 2016 @04:24PM (#12456945)
Ah, you should definitely join in on our Slack. Another guy has done some similar work in a plugin: https://github.com/extr0py/vscode-relative-line-numbers
Re:Visual Studio Code 1.5 by alfanick on Thursday September 08, 2016 @04:35PM (#12457027)
yeah, that's the extension that inspired me ;)
Re:Visual Studio Code 1.5 by rebornix on Thursday September 08, 2016 @06:51PM (#12458140)
The reason that plugin lags is because it was using `setInterval` initially but I changed it to selectionChange hook and now it works smoothly. Now the only problem with it is it hides breakpoints but definitely we will improve this experience later on. / I'm a Code team member*/
Re:Visual Studio Code 1.5 by ashwinne on Thursday September 08, 2016 @07:29PM (#12458382)
I find relative number very useful to jump lines. Please consider showing current line number for current line. And go ahead with the pull request, many of us need this feature :)
Re:Visual Studio Code 1.5 by alfanick on Monday September 12, 2016 @10:12AM (#12479798)
that's exactly what I implemented, yup I will make a pull request soon