Skip to content

Remove indenting from sources that start indented #54

@NicksPatties

Description

@NicksPatties

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp1 - highTask that should be completed in the current sprint

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions