Hacker News new | past | comments | ask | show | jobs | submit login

From the linked issue:

>deliberately have my editor set up to change tab width based on editor width (responsive indentation width)

What editor are you using that has this setting?




There are a couple of ways I have this set up.

Firstly, I've explored using responsive tab width in https://github.com/ioquatix/jquery-syntax which is nice when presenting code on a mobile phone.

Secondly, I've got hard coded tab width on my desktop with a huge screen vs my laptop with a smaller screen, and this works for all editors, including my primary editors Atom and vim.

Finally, I've played around with using responsive CSS within Atom, but due to recent changes in the text rendering my current CSS doesn't appear to be working.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: