microsoft / microsoft/vscode-textmate
broken bash syntax highlighting
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 678
- Forks
- 135
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Hi
I'm using vscode 1.102
some lines of bash break highlighting of all the following lines in the same bash file.
In my case I had
portmask=$(( portmask | (1 << $p) ))
which broke the highlighting
I thought it's a bash language server problem. But they redirected me here. See https://github.com/bash-lsp/bash-language-server/issues/1301
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report in a Bash file in VS Code 1.102 with portmask=$(( portmask | (1 << $p) )), then read the linked bash-language-server issue for context. Done means the arithmetic expression no longer breaks syntax highlighting for subsequent lines in the same file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100