gitkraken / vscode-gitlens

Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
http://gitkraken.com/gitlens
Other
8.94k stars 1.28k forks source link

Minimum whitespace for current line annotation #1527

Open rafabr4 opened 3 years ago

rafabr4 commented 3 years ago

I think it would be great to be able to set a minimum "column" where the current line annotation starts.

I know that you can use Current Line: Format to add a fixed amount of whitespace, but that always starts to count from EOL. I'm talking about something like "max between (column 120) and (EOL + 5)", for example. This way the annotations never start before column 120.

So instead of looking like: CurrentSpacing

It looks like: NewSpacing

I wound find this useful because too often I bring up the "Current Line Hover" unintentionally since I'm used to placing my mouse to the right of the line that I'm viewing. Of course my request would include that the hover doesn't pop up when hovering over the whitespace, only when hovering after column 120 (for example).

eamodio commented 3 years ago

Unfortunately the vscode api's won't allow for something like this currently.