vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Hide hover popups while dragging text

Open JoshKreitz opened this issue 1 year ago • 0 comments

With hover fields enabled, select some code including a variable and attempt to drag it to another location. While dragging, the hover popup showing variable information appears, preventing the selection from being dropped anywhere within the area covered by the popup. Observed in JavaScript/TypeScript and C# editors, I haven’t tested elsewhere.

Either hover events should be interrupted by drag events to prevent popups from appearing when a drag is initiated, or a setting should be provided to disable hover popups when dragging selected text.

System Info:

  • MacOS 14.6.1 on an Apple M3 Pro
  • VS Code 1.92.2
  • Extensions: Pylance, .NET Install Tool, C/C++, C#, Docker, Eslint, npm, Path Intellisense, Prettier, misc others unrelated

JoshKreitz avatar Aug 27 '24 19:08 JoshKreitz