Skip to content

Add TextMate Scopes for eval/package #53399

@jabacchetta

Description

@jabacchetta

As documented on StackOverfow, I was able to target all of JavaScript's reserved keywords via TextMate with the exception of two:

  1. eval (disallowed in strict)
  2. package (unused future keyword)

It's not clear to me whether this is something that needs to be updated in the TextMate grammar or if support just needs to be added in VS Code.

For eval, a support.function.eval.js scope appears to make sense. With package not actually being used yet, I'm not sure what scope that would go under.

Metadata

Metadata

Assignees

Labels

grammarSyntax highlighting grammarupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions