Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Trigger parameter hints" doesn't make sense in ".vue" files #3948

Closed
Litrix2 opened this issue Mar 3, 2024 · 3 comments
Closed

"Trigger parameter hints" doesn't make sense in ".vue" files #3948

Litrix2 opened this issue Mar 3, 2024 · 3 comments
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first upstream

Comments

@Litrix2
Copy link

Litrix2 commented Mar 3, 2024

image

vscode

Version: 1.87.0 (system setup)
Commit: 019f4d1419fbc8219a181fab7892ebccf7ee29a2
Date: 2024-02-27T23:41:44.469Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

@zengxj0v0
Copy link

After upgrading to 2.0, use the shortcut key editor.action.triggerParameterHints in <script lang="ts" setup>. There is no parameter prompt. After returning to 1.8+, the parameter information can be displayed.

@BARNZ
Copy link

BARNZ commented Mar 9, 2024

Same issue for me as well - Trigger parameter hints no longer appears to be working correctly

Whats weird in this example is it knows where to find the function (Go to definition works fine) and when suggesting the function during autocomplete you can even see the parameters coming through:

image

But for some reason you can no longer trigger parameter hints manually when inside the function parenthesis (nothing happens):

image

This is just plain old js in a .vue file.

Appears to be a regression, works just fine in 1.8

@zengxj0v0
Copy link

zengxj0v0 commented Apr 18, 2024

I found a solution. Setting vue.Hybrid Mode to false in the Vue Official plug-in can trigger parameter prompts in .vue and .ts files.
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first upstream
Projects
None yet
Development

No branches or pull requests

4 participants