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

JavaScript Template Literals: remaning code loses highlighting #1809

manngo opened this Issue Jul 16, 2016 · 2 comments


None yet
4 participants

manngo commented Jul 16, 2016

Short Summary

If I add a JavaScript template literal, the code after the current function loses its highlighting.
This seems to be limited to literals with embedded variables.

Steps to Reproduce

  • Create two functions.
  • In the first function add the following code: var a=3; alert('value is ${a}');

Sorry, but I can’t get the backtick to appear in the code above. Please replace the single quote (') with a backtick!

Expected results

The rest of the code should be highlighted.

Actual results

Code after the first function is not highlighted.

Platform Information

Komodo Edit or IDE? Edit
Komodo Version? 10.0.1
Operating System (and version)? OS X 10.11.5

Additional Information

I can get it to work again by changing the syntax highlighter to another language and then back to JavaScript.


This comment has been minimized.


Defman21 commented Jul 16, 2016

I have the same problem.

(function() {
    var variable = 1;
    this.test = () =>
        console.log(`test ${variable}`);

    this.test2 = () =>
        console.log("I'm green");


@mitchell-as mitchell-as added this to the 10.1 milestone Jul 18, 2016

@mitchell-as mitchell-as self-assigned this Jul 18, 2016


This comment has been minimized.


mitchell-as commented Jul 18, 2016

Thanks for the report. I can reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment