Skip to content

Related to 'innerComponent' White-Spaces #309

Open
@0xScratch

Description

@0xScratch

Well, I have been facing this issue for a long time. Whenever I try the command 'rafce' or such, it displays the required code but the whitespaces from the left don't really maps up with VS code, which kind of creates a bad experience for the user(Maybe for you it doesn't, but I really don't want to mess up with whitespaces when hitting up some code). Have a look at this code snippet:

issue_snippet

Here, we clearly see that return statement is spaced two times from left (tho, the idea behind was to create a 'tab' spacing), and so is the div component. All good till now, but if I try to add my own function or any variable inside that 'hello' then:

issue_snippet_1

Clearly, a flaw in spacing here (OK we can easily solve this either by giving 'return' a tab spacing or such, but it's obvious why we are really messing up with it cuz that will degrade our motive of using 'rafce' or such)

Looking for a fix or probably I gonna fix that.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions