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

Remove indenting from sources that start indented #54

Open
NicksPatties opened this issue Nov 7, 2024 · 0 comments
Open

Remove indenting from sources that start indented #54

NicksPatties opened this issue Nov 7, 2024 · 0 comments

Comments

@NicksPatties
Copy link
Owner

NicksPatties commented Nov 7, 2024

When starting an exercise that is indented (like trying to grab a function that is indented from within a class), the user has to type the indentation before actually typing the exercise.

54-starting-exercise-with-indent.mp4

This could also be related to adding exercises to sweet as well. When adding an exercise from STDIN, when writing a new file, I should remove any leading whitespace from the file, and remove that amount of whitespace from each line that is added to the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant