vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.76k stars 388 forks source link

type hinting loss #3869

Open lixiaofa opened 7 months ago

lixiaofa commented 7 months ago

Vue version

"vue": "^3.3.4"

Link to minimal reproduction

https://play.vuejs.org/#eNqNUstu2zAQ/JUtL04B10KRm6EYaAMDbQ9t0BbJhRdFWitMKJIgV44DQf+eJWVLeSc37s5wObOcTnxzbrFtUSxFHkqvHEFAah3owtQnUlCQYiWNapz1BKe2cbDxtoHZIotFvDob4Q48bqDfMwZImtKaQNCEGk4ifjT7gVpbuLBeV59mn0eCrVCfF7rFPY98i4zm2aCLVXBB2DhdEHIFkF99XXVdGt33ecZV6irjWoLtlzSRPTAuBWQDmCwsp8ciPhZ7Wp49eEbMeQkscaPqxXWwhjfVxUlSlDxKafR/HCm2IMUSEhKxgi3e/kq96GN+6JdXWN680L8Ou9iT4sxjQL9lKSNGha+RBnj97zfu+DyCLL7VzH4D/IvB6jZqHGjfW1Ox7Ae8pPZn+kRl6v9hvSM04WAqCo3MPvGl4I+NW3zN+iT3eHGc7knT8xYPeflY1OjOIQdqXSkqLjWecmbOvHVhzvMeRZAzVuFGGUxw/uzC6uidEFVqmw4AXTdFoWfVDGYD+jQRyQsFtoK7Se6ztznJnfRx0DR4CYE8bzn2e9HfA/53MH4=

Steps to reproduce

image

What is expected?

like image You can see the types inside

What is actually happening?

Unable to see the types inside

System Info

No response

Any additional comments?

Can you see if the types inside are correct for a component?

so1ve commented 7 months ago

This should not affect auto complete, error reporting etc since it is just a display issue

lixiaofa commented 7 months ago

This should not affect auto complete, error reporting etc since it is just a display issue

I personally think it's a problem, there is no component value prompt

so1ve commented 7 months ago

@LinusBorg Could you please transfer this issue to vuejs/language-tools? Thanks

lixiaofa commented 7 months ago

This should not affect auto complete, error reporting etc since it is just a display issue

What I want to ask is, is this a question in your opinion

KermanX commented 1 month ago

Now only the component name is shown 🥲