I copy code from an editor into a Google Spreadsheets cell. Unfortunately, it left-aligns the code making it hard to read.

However, when I double-click on it to edit it, the tabs are still there (second image) so I know it didn't delete the tabs, just collapsed them.

How do I get Google Spreadsheets to also display the code showing the tabs as tabs instead of collapsing them?

Indentation examples

1 Answer 1


This is not possible at the moment, but a feature request has been made. See this link for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.