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

Bug in the builtin shell script extention #215908

Closed
skyp0714 opened this issue Jun 17, 2024 · 5 comments
Closed

Bug in the builtin shell script extention #215908

skyp0714 opened this issue Jun 17, 2024 · 5 comments
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@skyp0714
Copy link

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.90.1
  • OS Version: Mac OS Sonoma 14.5

Steps to Reproduce:

  1. Open any bash scripts
  2. Use left shift operator(<<) inside the arithmetic expansion($(())). e.g. a=$((1<<2))
  3. The code after the line is not highlighted properly. ( $(( is indicated as a string, and all the following lines as well)

But it works well in the arithmetic if condition. e.g. if [[ 1<<2 > i ]]; ...

@alexr00
Copy link
Member

alexr00 commented Jun 17, 2024

Can you share a screenshot?

@alexr00 alexr00 added the info-needed Issue requires more information from poster label Jun 17, 2024
@skyp0714
Copy link
Author

skyp0714 commented Jun 17, 2024 via email

@alexr00
Copy link
Member

alexr00 commented Jun 18, 2024

The image you included doesn't show. Can you please add it on github.com?

@skyp0714
Copy link
Author

image

@alexr00
Copy link
Member

alexr00 commented Jun 19, 2024

Thanks! Moved to jeff-hykin/better-shell-syntax#93, which is where we get our shellscript grammar from.

@alexr00 alexr00 closed this as completed Jun 19, 2024
@alexr00 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
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Aug 3, 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
Projects
None yet
Development

No branches or pull requests

2 participants