emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 139 forks source link

Does lsp-ui reveal a variable type? #531

Open steveeq1 opened 3 years ago

steveeq1 commented 3 years ago

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?

danielmartin commented 3 years ago

Steve Quezadas notifications@github.com 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?

steveeq1 commented 3 years ago

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