-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)editor-hoverEditor mouse hoverEditor mouse hovertypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
Description
- VSCode Version: 1.30.2
Steps to Reproduce:
- Hover over a variable on TypeScript or click
Ctrl+K, Ctrl+I - Select all and copy
- Paste
You get these abbreviations:
let ffprobe_video_stream: {
index: number;
codec_name: string;
codec_long_name: string;
profile: string;
codec_type: string;
codec_time_base: string;
codec_tag_string: string;
codec_tag: string;
width: number;
height: number;
... 22 more ...;
tags: {
...;
};
}
The copy & pasted type is not usable anymore, it worked with previous vscode. I don't want the abbreviations with three dots. I constantly copy & paste type definitions, now I have to go to the definition to get them.
Here is the process why I even need them:
I sometimes copy & paste JSON objects, and get their type using that hover tooltip, used to work.
I sometimes copy & paste API type definitions to the React components (so that I don't make unneccessary dependencies between API and the component), and clean up the extra props. Now I can't do that either.
In my opinion you should not need to abbreviate that hover box, it has scrollbars and stuff. It was usable how it was.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)editor-hoverEditor mouse hoverEditor mouse hovertypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)