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

Trouble getting this to work at all (React) #52

Open
shelbourn opened this issue Jul 15, 2021 · 2 comments
Open

Trouble getting this to work at all (React) #52

shelbourn opened this issue Jul 15, 2021 · 2 comments

Comments

@shelbourn
Copy link

I recently found this extension and am super excited about it, but cannot seem to get it to work. I have installed the extension without modifying any settings and I do not see any inline parameter hints at all. I'm working on a React project. Is there something I'm missing? Thanks in advance!

@Sayvai
Copy link

Sayvai commented Jul 26, 2021

Same. I am also working on a React project. I've just installed this extension without any additional config setup / changes, and restarted VS Code too, to no avail.

I had even manually added a settings JSON config entry "inline-parameters.enabled": true, but that also did not work either.


Update: I've just noticed Inline Parameters displayed within my JavaScript Cypress (functional / e2e) tests only.

Strange. I wonder what the specific circumstances are to get inline params to show across the whole of project which includes main source code and unit tests? Proper TS config / definitions? 🤔

@FlahDev
Copy link

FlahDev commented Aug 1, 2023

We don't need this extension anymore, vscode has own support to inlay hints

"editor.inlayHints.enabled": "on",
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
"typescript.inlayHints.enumMemberValues.enabled": true,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants