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: trim end $1 from completion #609

Merged
merged 3 commits into from
Dec 9, 2021

Conversation

p-spacek
Copy link
Contributor

@p-spacek p-spacek commented Dec 7, 2021

What does this PR do?

Simplify simple (with one variable) code completion when the text ends with $1.
For the user, it's quite complicated to not forget to hit tab instead of enter.

Note: not sure if it makes sense for your users. I would like to know your opinion. For me/users it's not very handy to use tab and enter together in these simple completion scenarios.

Before:

Screen.Recording.2021-12-01.at.11.08.48.mov

After:

Screen.Recording.2021-12-01.at.11.06.24.mov

What issues does this PR fix or reference?

no ref

Is it tested? How?

modified UTs

@coveralls
Copy link

coveralls commented Dec 7, 2021

Coverage Status

Coverage increased (+0.02%) to 78.913% when pulling 6c5563e on p-spacek:feat/trim-end-$1 into 05bab07 on redhat-developer:main.

Copy link
Collaborator

@evidolob evidolob left a comment

Choose a reason for hiding this comment

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

LGTM
@JPinkney WDYT?

@evidolob evidolob merged commit 3d8cc0c into redhat-developer:main Dec 9, 2021
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.

4 participants