You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Product and Version [VS/VSCode]: 1.24.1 OS Version [macOS/Windows]: Linux Live Share Extension Version: 0.3.295 Target Platform or Language [e.g. Node.js]: irrelevant
Steps to Reproduce / Scenario:
Start a collaboration session.
Let someone else join the session.
Place your cursor on a different line than the "guest" and indent some.
Tell the other user to save the file, triggering VS Code to remove the whitespace.
The whitespace is removed on the line I was currently working on (when it was empty).
When working with someone and you're starting on a new line and the indentation is suddenly gone because the other user saved the project (out of habit) it's a little bit frustrating.
This also happens to the guest when the host saves.
The text was updated successfully, but these errors were encountered:
AndreasBackx
changed the title
Collaborator saving ignores host cursor when removing whitespace
Collaborator saving ignores other collaborator cursors when removing whitespace
Jun 19, 2018
@grork that is correct. Unsure whether the collaborator had it.
grork
changed the title
Collaborator saving ignores other collaborator cursors when removing whitespace
Collaborator saving removes uncommited whitespace for collaborator cursors when auto format on save
Jun 19, 2018
Sounds like yall already have a good grasp on this issue and I see its on the roadmap, but figured I would add my info in case it is helpful. I was trying to teach a friend over LiveShare last night when this issue caused us to abandon our LiveShare session in favor of regular screen share.
Seems like the easy work around is turning off formatting which I'll do tonight when we try again.
Relevant settings:
Let me know if there is anything else I can provide to help!
Product and Version [VS/VSCode]: 1.24.1
OS Version [macOS/Windows]: Linux
Live Share Extension Version: 0.3.295
Target Platform or Language [e.g. Node.js]: irrelevant
Steps to Reproduce / Scenario:
When working with someone and you're starting on a new line and the indentation is suddenly gone because the other user saved the project (out of habit) it's a little bit frustrating.
This also happens to the guest when the host saves.
The text was updated successfully, but these errors were encountered: