You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People asked for this feature when they request for git blame info #2248. Now I found we are relying on this as well when implementing Vim's relative line numbers.
See image above, you can set relative line numbers in Vim then you can easily know how many lines up or down you want to operate, instead of calculating the line numbers yourself. Currently it's not possible.
By using a raw html, I could easily add some features like colouring each commit, but I also had to give up some basic features like syntax highlighting or text search; so I'm thinking to rewrite the extension if the customisable gutter become available.
Reacted by Abhinav Gauniyal, Yukai Huang, lizz, Robert R. and Olof Fredriksson
editor.lineNumbers: "relative" and in the API at text editor options lineNumbers: "relative". To check with Johannes Rieken (@jrieken) if the API is good enough -- Johannes Rieken (@jrieken) pls see a8894fb and let me know if you think it is ok -- it reflects the user setting...
Activity
kieferrm commentedon Jul 21, 2016
Starting with Sandeep Somavarapu (@sandy081) as he is looking into the VIM gaps.
ryu1kn commentedon Aug 11, 2016
I'm very curious how or to what extent we will be able to customise a gutter.
I've developed an extension called Annotator (https://github.com/ryu1kn/vscode-annotator) which displays git blame output along with your code. I wanted to display blame information into a gutter but as the feature is not yet available, I ended up using a html view, aligning the blame with the code on my own.
By using a raw html, I could easily add some features like colouring each commit, but I also had to give up some basic features like syntax highlighting or text search; so I'm thinking to rewrite the extension if the customisable gutter become available.
alexdima commentedon Sep 26, 2016
editor.lineNumbers: "relative"and in the API at text editor optionslineNumbers: "relative". To check with Johannes Rieken (@jrieken) if the API is good enough -- Johannes Rieken (@jrieken) pls see a8894fb and let me know if you think it is ok -- it reflects the user setting...alexdima commentedon Sep 27, 2016
There is a slight change from my previous comment, the API now contains an enum and the user settings are "on" | "off" | "relative"
agauniyal commentedon Oct 10, 2016
What about Ryuichi Inagaki (@ryu1kn)'s request for vscode-annotator. Any plans in upcoming releases?