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

Completion proposal exit position always points to the end of proposal #18

Closed
xcariba opened this issue Aug 6, 2020 · 0 comments · Fixed by #19
Closed

Completion proposal exit position always points to the end of proposal #18

xcariba opened this issue Aug 6, 2020 · 0 comments · Fixed by #19
Assignees
Labels
bug Something isn't working
Milestone

Comments

@xcariba
Copy link
Collaborator

xcariba commented Aug 6, 2020

If your proposal is a snippet, for example:

if (${1:true|false}) {
    $0
}

Exit position will always be on the last inserted character and not $0 as it should be according to documentation.

xcariba added a commit that referenced this issue Aug 6, 2020
@pisv pisv linked a pull request Aug 7, 2020 that will close this issue
@pisv pisv added this to the v0.2 milestone Aug 7, 2020
@pisv pisv added the bug Something isn't working label Aug 7, 2020
@pisv pisv closed this as completed in #19 Aug 13, 2020
pisv added a commit that referenced this issue Aug 13, 2020
It should point to $0 if present

Co-authored-by: Vladimir Piskarev <pisv@1c.ru>
pisv added a commit that referenced this issue Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants