Skip to content

What does this package provide beyond the Sublime JavaScript syntax? #8

@Thom1729

Description

@Thom1729

Sublime's core JavaScript syntax has been significantly overhauled over the past couple of years. It provides complete support for standard ECMAScript features and for a number of commonly-used experimental features. It is actively maintained when new ECMAScript features are advanced or when bugs are found. In addition, it provides more accurate highlighting for hard-to-parse constructs than any other syntax.

At this point, is there any reason that a Sublime user should use this package over the core JavaScript syntax? Is it time to transition users back to core?

For comparison, this package lacks support for the following JavaScript features that are supported by the core syntax:

  • Interpolated expressions in template strings.
  • Decorators.
  • Computed property names.
  • Class properties.
  • dotAll regexp flag.

In addition:

  • There are a number of bugs when unexpected (but valid) newlines are encountered.
  • The scopes differ substantially from the standard scopes used by the core packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions