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

in bash file a piece of code is treated like a comment #3408

Open
SorinGFS opened this issue May 18, 2024 · 0 comments
Open

in bash file a piece of code is treated like a comment #3408

SorinGFS opened this issue May 18, 2024 · 0 comments

Comments

@SorinGFS
Copy link

Summary

I tried to find the related prettier plugin for bash/sh but I couldn't. So please forgive me if this is the wrong place for this issue.

Actual result

result

Expected result

expected

Additional information

Any vscode, any os.
As I said in the title, the last part of the first code line is treated like a commend. It doesn't throw errors in console since is valid piece of code. The second image shows how the code would look like if I break that #* by placing a dot between the 2 characters. That comment format is wrongfully applied to a piece of code, while in fact should be applied only if the # is at the begginning of the line.

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