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

Mirroring sequence of nested placeholders not selected properly on backjumping #58736

Closed
andreyorst opened this issue Sep 15, 2018 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug snippets verified Verification succeeded

Comments

@andreyorst
Copy link

  • VSCode Version: 1.27.2
  • OS Version: Arch Linux, Windows 10

Steps to Reproduce:

Use this snippet for C filetype:

"nested miroring test": {
	"prefix": "bug",
	"body": "${3:nest1 ${1:nest2 ${2:nest3}}} $3",
	"description": "bug"
}
  1. Jump until nest3 placeholder is selected:
    image
  2. Replace it with any text:
    image
  3. Jump back once:
    image
  4. Replace selected placeholder with some text:
    image
  5. Jump forward:
    image
  6. Jump forward, to the placeholder $3 which should select whole nested sequence selects only part in the mirroring sequence:
    image

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot removed the new release label Sep 17, 2018
@alexdima alexdima assigned jrieken and unassigned alexdima Sep 17, 2018
@jrieken jrieken added bug Issue identified by VS Code Team member as probable bug snippets labels Sep 17, 2018
@jrieken jrieken added this to the September 2018 milestone Sep 17, 2018
@jrieken
Copy link
Member

jrieken commented Sep 17, 2018

@andreyorst thanks for reporting this. I have just pushed a fix and next (tomorrows) Insiders build will already have this fix.

@roblourens roblourens added the verified Verification succeeded label Sep 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug snippets verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants