shanalikhan / code-settings-sync

🌴💪 Synchronize your Visual Studio Code Settings Across Multiple Machines using GitHub GIST 💪🌴
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
MIT License
4.01k stars 390 forks source link

sync os pragma won't work on M1 mac #1336

Open mnjihw opened 2 years ago

mnjihw commented 2 years ago

🐛 Describe the bug
// @sync os pragma won't work on M1 mac.

🌴 Visual Studio Code Version : 1.65.2 🌴 Code Settings Sync Version : 3.4.3 🌴 Standard or Insiders : Standard 🌴 Portable or Installed : Installed 🌴 OSS or Official Build : Official Build 🌴 Operating System : macOS Monterey 12.3(M1) 🌴 Occurs On: startup 🌴 Proxy Enabled: No 🌴 Gist Id: Not relevant I think, will be added if needed

📰 To Reproduce Steps to reproduce the behavior:

  1. Open settings.json and comment out as follows // @sync os=windows "python.pythonPath": {windowsPath} // @sync os=mac "python.pythonPath": {macPath}
  2. Save and restart the vscode
  3. See if the line that contains {windowsPath} gets commented out automatically

💪 Expected behavior The line belonging to // @sync os=windows should be commented out

📺 Console Error Log None

ziqq commented 2 years ago

Any news? I catch this bug in windows and mac. image