syntax highlighting is lost after call to handlebars helper with string parameter inside script block
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 303
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
From @Jusys on October 9, 2017 21:38
- VSCode Version: 1.17.0 (issue present in both 32bit and 64bit)
- OS Version: Windows 7 32bit, Windows 10 64bit
Steps to Reproduce:
- Create handlebars file;
- Type some html code;
- Create script block with function;
- Inside function make a call to handlebars helper with string parameter;
- After this syntax highlighting will be lost;


If call to helper is without string parameter, everything is ok:


Reproduces without extensions: I have no extensions installed
Copied from original issue: Microsoft/vscode#35934
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
Reproduce the problem in a Handlebars file using VS Code with extensions disabled, following the five steps in the issue and comparing helper calls with and without string parameters. Start by locating the repository's syntax-highlighting grammar or embedded-script handling, then verify that highlighting remains intact after the helper call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100