Skip to content
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

Display codelens to the right of the editor screen #263

Closed
yeboahnanaosei opened this issue Jan 27, 2018 · 4 comments
Closed

Display codelens to the right of the editor screen #263

yeboahnanaosei opened this issue Jan 27, 2018 · 4 comments

Comments

@yeboahnanaosei
Copy link

yeboahnanaosei commented Jan 27, 2018

TAKE A LOOK AT THE PICTURES

  • GitLens Version: 7.5.7
  • VSCode Version: 1.19.3
  • OS Version: 👇

elementary OS 0.4.1 Loki
Based on Ubuntu 16.04.3 LTS
Linux kernel 4.13.0-32-generic

Steps to Reproduce:

  1. Open any file under source control
  2. Codelens appears directly on top of line 1

THIS IS THE CURRENT SITUATION
gitlens-current-situation

SUGGESTED APPROACH
gitlens-float-right-with-suggestion

NB: Thanks so much for this great work! 👍

@eamodio
Copy link
Member

eamodio commented Jan 27, 2018

Thank you for you kind words and your suggestion. Unfortunately vscode doesn't support rendering code lens anywhere else other than where you currently see it. If you feel like this is a feature you'd like to see, I'd recommend opening an issue on the vscode repo asking for that support.

Closing this because until vscode can support this, there is nothing GitLens can do. Sorry.

@eamodio eamodio closed this as completed Jan 27, 2018
@skube
Copy link

skube commented Mar 3, 2018

I guess the shifting down of code by a single line when codeLens is enabled ("gitlens.codeLens.enabled":true,) is also something that can't be avoided/fixed?

@eamodio
Copy link
Member

eamodio commented Mar 3, 2018

@skube Correct there is nothing that GitLens can do to control that (other than turning the code lens off). Code lens by nature of how it is rendered cause the lines to move down (because lines are basically being added), but it should keep the current line where it was. So depending on the behavior it could be a vscode issue. FYI, I've opened microsoft/vscode#41968

@github-actions
Copy link

github-actions bot commented Dec 6, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants