prettier-vscode icon indicating copy to clipboard operation
prettier-vscode copied to clipboard

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

Open SorinGFS opened this issue 1 year ago • 6 comments
trafficstars

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.

SorinGFS avatar May 18 '24 08:05 SorinGFS

This issue has been labeled as stale due to inactivity. Reply to keep this issue open.

github-actions[bot] avatar Jul 18 '24 01:07 github-actions[bot]

Is anyone reading?

SorinGFS avatar Jul 18 '24 06:07 SorinGFS

This issue has been labeled as stale due to inactivity. Reply to keep this issue open.

github-actions[bot] avatar Feb 12 '25 02:02 github-actions[bot]

not stale

SorinGFS avatar Feb 12 '25 09:02 SorinGFS

This issue has been labeled as stale due to inactivity. Reply to keep this issue open.

github-actions[bot] avatar Apr 14 '25 02:04 github-actions[bot]

not stale

SorinGFS avatar Apr 19 '25 15:04 SorinGFS