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
lsp: completions in jsx props, the value is set to "$1"
or {$1}
#15367
Comments
"$1"
or {$1}
"$1"
or {$1}
we updated our completions to be more current with the current state of play, and I think we are handling the return from the TypeScript language server 100% correctly. |
ooops, only meant to comment, not close... |
There are several auto completions and quick fixes coming from the language server that appear to require some sort of argument interpolation, where what comes back is |
Describe the bug
When autocompleting props in jsx the prop is set to have the value;
{$1}
"$1"
.Note: This consistently seems to occur for props which accept a function or string value, but not for props which accept a boolean value.
To Reproduce
tsx
file (extension ends in.tsx
Expected behaviour
The prop is set to have the value;
{}
""
Current behaviour
The prop is set to have the value;
{$1}
"$1"
Screenshots
Versions
v3.13.1
The text was updated successfully, but these errors were encountered: