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

Tabs in user tasks become spaces when syncing #141558

Closed
alexr00 opened this issue Jan 26, 2022 · 0 comments
Closed

Tabs in user tasks become spaces when syncing #141558

alexr00 opened this issue Jan 26, 2022 · 0 comments
Assignees
Labels

Comments

@alexr00
Copy link
Member

alexr00 commented Jan 26, 2022

Testing #141275

  1. Create users tasks on machine A:
{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "echo",
			"type": "shell",
			"command": "echo Hello one!"
		}
	]
}
  1. Turn on sync on machine A
  2. Turn on sync on machine B and see the tasks sync ✔ Note that both A and B have tabs (not spaces) for indent in the user tasks.
  3. Turn off sync on B.
  4. Change the task command on A to be "echo Hello two!" and on B to be "echo Hello three!". Double check that all indents are still tabs.
  5. Turn sync back on on B
  6. Get a sync conflict on B ✔ But, see that there are whitespace differences in the conflict 🐛:
    image
    The left (remote) side correctly has tabs. The right (local) side now has spaces.
@microsoft microsoft locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants