Skip to content

Editor Jumps When Code Lenses Are Inserted #216824

@hediet

Description

@hediet

I think the editor used to preserve the vertical position of the line where the the cursor is in.
It jumps now:
aHV2ZN34RN

Repro steps:

  • Enable Code Lenses for TypeScript
  • Navigate to a symbol in a file that has not been opened yet
  • Notice that the editor reveals the symbol correctly, but without code lenses yet
  • Notice that the editor jumps once code lenses appear

Verification steps:

  • Observe that the line the cursor is in does not jump anymore.

If I don't misremember, there was a change made here recently?

Metadata

Metadata

Assignees

Labels

editor-coreEditor basic functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions