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

Remove '$event' from showing up automatically in the editor. #2502

Closed
bdlowery opened this issue Mar 10, 2023 · 3 comments
Closed

Remove '$event' from showing up automatically in the editor. #2502

bdlowery opened this issue Mar 10, 2023 · 3 comments
Labels
question Further information is requested

Comments

@bdlowery
Copy link

Can I disable this feature? I know that writing @click is supposed to be an event. Can I prevent the extension from adding$event to an event listener like so - @click='$event => functionName()'

CleanShot 2023-03-09 at 23 58 38@2x

@Sight-wcg
Copy link
Contributor

Set "volar.inlayHints.eventArgumentInInlineHandlers": false to hide Event Argument in Inline Handlers.

@bdlowery
Copy link
Author

Set "volar.inlayHints.eventArgumentInInlineHandlers": false to hide Event Argument in Inline Handlers.

Thank you. Is there somewhere I can view all of the settings the language-tools extension offers?

@Sight-wcg
Copy link
Contributor

Set to hide Event Argument in Inline Handlers."volar.inlayHints.eventArgumentInInlineHandlers": false

Thank you. Is there somewhere I can view all of the settings the language-tools extension offers?

Open the settings panel and search for volar
image

#2445 (comment) See for more context.

@johnsoncodehk johnsoncodehk added the question Further information is requested label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants