Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indent playground code using spaces #12231

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

potomak
Copy link
Contributor

@potomak potomak commented Jul 9, 2022

Update CodeMirror options as suggested by
codemirror/codemirror5#988 (comment)
in order to indent code using spaces instead of tabs.

Tested by running playground (./bin/crystal play) and updating some
code:

Screen.Recording.2022-07-09.at.6.30.44.AM.mov

Fixes #10213

Update CodeMirror options as suggested by
codemirror/codemirror5#988 (comment)
in order to indent code using spaces instead of tabs.

Tested by running playground (`./bin/crystal play`) and updating some
code:

https://user-images.githubusercontent.com/153842/178105140-4aad0486-a937-4686-8904-5e9c0a87145b.mov
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @potomak 🙏

@straight-shoota straight-shoota added this to the 1.6.0 milestone Aug 31, 2022
@straight-shoota straight-shoota merged commit b32e251 into crystal-lang:master Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: Tab key on crystal playground to use spaces instead of tabs.
5 participants