lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

Does lsp-ui reveal a variable type?

Open steveeq1 opened this issue 3 years ago • 2 comments

I use typescript and sometimes when I pass values, I pass the type as "any" to play around. Can lsp-UI reveal the "type" if I hover the cursor over "any" or the variable itself?

steveeq1 avatar Nov 03 '20 07:11 steveeq1

Steve Quezadas [email protected] writes:

I use typescript and sometimes when I pass values, I pass the type as "any" to play around. Can lsp-UI reveal the "type" if I hover the cursor over "any" or the variable itself?

I'm not very familiar with TypeScript, do you know if this is something that the TypeScript language server in VSCode already supports?

danielmartin avatar Nov 07 '20 13:11 danielmartin

I am not sure, I will ask the tsserver people and post here so others can benefit.

steveeq1 avatar Nov 08 '20 01:11 steveeq1