Skip to content

Show Hover: Disable three dots abbreviation (Ctrl+K Ctrl+I) #66405

@Ciantic

Description

@Ciantic
  • VSCode Version: 1.30.2

Steps to Reproduce:

  1. Hover over a variable on TypeScript or click Ctrl+K, Ctrl+I
  2. Select all and copy
  3. 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.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)editor-hoverEditor mouse hovertypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions