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

Related to 'innerComponent' White-Spaces #309

Open
0xScratch opened this issue Sep 16, 2023 · 0 comments · May be fixed by #310
Open

Related to 'innerComponent' White-Spaces #309

0xScratch opened this issue Sep 16, 2023 · 0 comments · May be fixed by #310

Comments

@0xScratch
Copy link

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!

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