-
Notifications
You must be signed in to change notification settings - Fork 62
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
Overwrites string arguments when using tern completion #243
Comments
Yeah this bug is super destructive because often it happens in the middle of an insertion and |
Yeah, the merged PR fixed some cases of it, but not all |
Can confirm the issue is still present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Arguments are replaced when a string is present as an argument to a function during completion in JavaScript files.
Steps to reproduce
Open
test.js
and enter the following:The pum is displayed and I select
longVariableName
.Expected outcome
longVariableName
is inserted as an argument and the editor displays the following:Actual outcome
longVariableName
is inserted, but all other arguments are removed:It seems to erase back to the first quotation mark of the first string argument. Other arguments such as variable names, integers, booleans etc are unaffected.
Context
The text was updated successfully, but these errors were encountered: