-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gutter customization #9561
Comments
Starting with @sandy081 as he is looking into the VIM gaps. |
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. |
There is a slight change from my previous comment, the API now contains an enum and the user settings are "on" | "off" | "relative" |
What about @ryu1kn's request for vscode-annotator. Any plans in upcoming releases? |
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.
cc @kieferrm
The text was updated successfully, but these errors were encountered: