live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Can't stop auto formatting actions from blocking syncing

Open tino opened this issue 2 years ago • 0 comments

Describe what happened:

  1. I join a collaborative session
  2. The host saves a file
  3. I get a popup saying "the host doesn't allow this action"
  4. I get another pop saying "sorting imports", that keeps spinning
  5. I end up with multiple of these actions running endlessly: CleanShot 2022-05-06 at 14 54 30
  6. Sync stops, until I'm able to stop these actions, and then I see my side catch up with everything the host did in the mean time in rapid succession.

I have tried to change my settings in that workspace when connected. I'v added:

"[python]": {
    "editor.codeActionsOnSave": {
      "source.organizeImports": false
    },
    "editor.formatOnSave": true,
},

This worked once, but it didn't in the last session just now.

Is there a way to set up settings specifically for liveshare sessions? I just want to make this the default when I join.

What was your system configuration? Product and Version VSCode: Version: 1.66.2 OS Version[macOS/Windows]: macOS Live Share Extension Version: v0.4.0 Target Platform or Language [e.g. Node.js]: Python

Steps to Reproduce / Scenario: See above

Please attach logs to this issue: You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue (I'll try to add those on the next session if needed.)

Screenshots CleanShot 2022-05-06 at 14 54 30

tino avatar May 06 '22 14:05 tino

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically in 2 days.

github-actions[bot] avatar Aug 15 '22 10:08 github-actions[bot]

Not sure what to add here? Can I clarify things?

tino avatar Aug 15 '22 10:08 tino