8000 What does this package provide beyond the Sublime JavaScript syntax? · Issue #8 · Benvie/JavaScriptNext.tmLanguage · GitHub
[go: up one dir, main page]

Skip to content

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

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

Open
Thom1729 opened this issue Aug 24, 2018 · 0 comments
Open

Comments

@Thom1729
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0