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

nested tabstop breaks when over 10 placed #230149

Closed
superle3 opened this issue Sep 30, 2024 · 1 comment · May be fixed by #243255
Closed

nested tabstop breaks when over 10 placed #230149

superle3 opened this issue Sep 30, 2024 · 1 comment · May be fixed by #243255
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets

Comments

@superle3
Copy link

Type: Bug

Steps to Reproduce:

  1. Register 2 user snippets one with 10 or more tabstops and the other atleast 2.
    test snippet:
{
	"test1": {
		"prefix": "test1",
		"body": [
			"a_$1 a_$2"
		],
		"description": "test1"
	},
	"test2": {
		"prefix": "test2",
		"body": [
			"b_$1 b_$2 b_$3 b_$4 b_$5 b_$6 b_$7 b_$8 b_$9 b_$10"
		],
		"description": "test2"
	}
}
  1. First trigger test1 then trigger test2 and "tab" through the tabstops till you are at b_$10 then vscode will go in to multicursor at b_$10 and a_$2, so something like a_ b_ b_ b_ b_ b_ b_ b_ b_ b_ b_| a_| where | is the cursor.

This always happens at the 10th tabstop where the cursor goes to b_$10 and a_$2

VS Code version: Code 1.93.1 (38c31bc, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 5600H with Radeon Graphics (12 x 3294)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 13.86GB (2.79GB free)
Process Argv . --disable-extensions
Screen Reader no
VM 0%
Extensions disabled
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) snippets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants