Floobits / floobits-sublime

Floobits real-time collaboration plugin for Sublime Text 2 and 3
Apache License 2.0
294 stars 31 forks source link

Tabs vs. spaces == sadness #202

Closed ggreer closed 9 years ago

ggreer commented 10 years ago

If one person has their editor set to use tabs and others use spaces, we get corruption sometimes.

kans commented 9 years ago

I think just warning people about this would be enough? Otherwise, we'd need to detect tabs client side and transform spaces.

ggreer commented 9 years ago

I think just warning is fine. Not sure the best way to tell the user though. False positives could be really annoying.

kans commented 9 years ago

I think just tell the user when they join the workspace? Clients tell the backend their tab settings when they join. We warn the tab user if not everyone has tabs? I suppose we'd need to watch the setting for updates, too...

ggreer commented 9 years ago

Colab now detects mixed indentation and sends warnings about this. We might need to tweak the warnings to make them more prominent, but the technical issue is fixed.