Skip to content

Coffeescript syntax highlighting breaks when embedding JS code #12

Description

@aeschli

From @pzuraq on November 4, 2016 17:30

  • VSCode Version: 1.7.0
  • OS Version: 10.11.6

Steps to Reproduce:

  1. Create a coffeescript file
  2. Paste the following into the file:
`import foo from './foo'`

bar = (baz) -> console.log(baz)

bar... will be highlighted as if it were embedded javascript. If a semicolon is added to the end of the embedded statement, then the syntax highlighting works correctly:

`import foo from './foo';`

Copied from original issue: microsoft/vscode#15008

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions