-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Bug in the builtin shell script extention #215908
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Comments
Can you share a screenshot? |
Hi Alex,
Thanks for reaching out.
I only enabled the default shell extension in my VScode settings.
As you can see here everything after the left shift operator << inside the
arithmetic expansion $ is indicated as a string (red colored).
However, it works well when it's within the if conditions.(lines 5~7)
[image: image.png]
Best,
Haneul Park
2024년 6월 17일 (월) 오전 3:35, Alex Ross ***@***.***>님이 작성:
… Can you share a screenshot?
—
Reply to this email directly, view it on GitHub
<#215908 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALXQNNX2PGG665XXM4E4QFDZH2NVLAVCNFSM6AAAAABJND2MTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGY4TCMJTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The image you included doesn't show. Can you please add it on github.com? |
Thanks! Moved to jeff-hykin/better-shell-syntax#93, which is where we get our shellscript grammar from. |
alexr00
added
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
and removed
info-needed
Issue requires more information from poster
labels
Jun 19, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
Does this issue occur when all extensions are disabled?: No
Steps to Reproduce:
<<
) inside the arithmetic expansion($(())
). e.g.a=$((1<<2))
But it works well in the arithmetic if condition. e.g.
if [[ 1<<2 > i ]]; ...
The text was updated successfully, but these errors were encountered: