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

Caret is misplaced in lines that display codelens #2709

Closed
2 tasks
e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd opened this issue Aug 12, 2019 · 4 comments · Fixed by #2734
Closed
2 tasks

Caret is misplaced in lines that display codelens #2709

e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd opened this issue Aug 12, 2019 · 4 comments · Fixed by #2734
Assignees
Labels
Milestone

Comments

@e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd

Describe the bug
When placing the caret on a line that displays codelens information above the caret is shown in the codelens line and not in the actual line of code.
grafik

To Reproduce
Steps to reproduce the behavior:

  1. Open a .cs file
  2. Move caret to a property definition or a method definition.
  3. Caret is now in the codelens line.

Expected behavior
The caret is placed on the code line.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Visual Studio version: 2019
  • VsVim version: 2.8.307
  • Programming Language: C#
  • Check(Type 'x') any that are installed:
    • ReSharper
    • Visual Assist
@ricksladkey
Copy link
Collaborator

@LariscusObscurus Thanks, Leonard. I can reproduce this bug. I will try to get it fixed shortly.

@jonschoning
Copy link

How does one avoid this; will downgrading VsVim help?

@ricksladkey
Copy link
Collaborator

@jonschoning Sorry, I unfortunately do no know which version this bug was introduced in. If you can wait a few days, I'm working right now on submitting a PR for a fix. Sorry for the delay!

@Adrian-Grimm
Copy link

Thx for fixing this =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants