daaain / daaain/Handlebars

syntax highlighting is lost after call to handlebars helper with string parameter inside script block

Open
#99 4 comments 0 reactions 0 assignees View on GitHub

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:

  1. Create handlebars file;
  2. Type some html code;
  3. Create script block with function;
  4. Inside function make a call to handlebars helper with string parameter;
  5. After this syntax highlighting will be lost;

image
image

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.