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

feat: unify string insert text for array and property #934

Conversation

p-spacek
Copy link
Contributor

@p-spacek p-spacek commented Nov 8, 2023

What does this PR do?

unify string text inserting for array and property

when you choose string property from completion you get
na -> name:

but for array, it generated extra quotes:
arr ->

array:
  - ""

These extra quotes caused, that it wasn't possible to invoke completion just after the code insert, but you had to delete "" continue...

the behavior is just a little bit different than for property text inserting.

Screen.Recording.2023-11-08.at.15.14.12.mov

Note that I didn't change it for number nor for bool because it seems to me a little bit different scenario

What issues does this PR fix or reference?

Is it tested? How?

update current tests

@coveralls
Copy link

coveralls commented Nov 8, 2023

Coverage Status

coverage: 84.076%. remained the same
when pulling 8d26886 on jigx-com:feat/unify-string-insert-text-for-array-and-property
into dfccc6f on redhat-developer:main.

Copy link
Contributor

@msivasubramaniaan msivasubramaniaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@msivasubramaniaan msivasubramaniaan merged commit 4b91dd3 into redhat-developer:main May 28, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants