Skip to content

Failed to import TextMate grammar #40760

Description

  • VSCode Version: 1.19.1
  • OS Version: macOS 10.13.2

Steps to Reproduce:

  1. yo code
  2. Select 'New Language Support'
  3. Enter the path to the attached grammar (unzip it first of course).
  4. Crash:
events.js:188
      throw err;
      ^

Error: Unhandled "error" event. (Problems loading language definition file: ENOENT: no such file or directory, open '/Users/steven/Desktop/stencil.tmLanguage ')
    at constructor.emit (events.js:186:19)
    at Immediate._onImmediate (/usr/local/lib/node_modules/generator-code/node_modules/yeoman-generator/lib/base.js:446:16)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)

This grammar has been written using TextMate and works fine there.

stencil.tmLanguage.zip

Activity

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

Metadata

Metadata

Labels

javascriptJavaScript support issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions