Description
Several issues have been opened for this problem, but they have been closed as a duplicate of an issue which barely mentions the problem, let alone addresses it: microsoft/vscode#64566
The closed issues are:
- Show Hover: Disable three dots abbreviation (Ctrl+K Ctrl+I) vscode#66405
- Show full type in typescript type hover hint vscode#76480
- Show Hover: Disable three dots abbreviation (Ctrl+K Ctrl+I) vscode#66405
The problem is simple. The three dots means you can't copy and paste definitions like you used to be able to. This is an absolutely essential feature because TypeScript isn't even close to being used everywhere, and the intellisense of Javascript files inside TypeScript files is way worse than inside Javascript files. This basically means the easiest way to create a d.ts file is to copy the type definition in the hover inside Javascript and then paste it into a d.ts file so TypeScript files can use it. It also helps me debug overloads and unions when things are going awry.
Even just a command that would popup the hover with the full definition instead of the abbreviated definition would be incredibly useful. Currently the shortcut is Ctrl+k, Ctrl+i
for the abbreviated definition, so I take it there is a command behind it that can be typed into the command list (ctrl+shift+p
). So even just adding the command for people to manually add a shortcut for would be really useful.
I can work around it, but I spend hours more time per week because of it.