Releases: Thom1729/Sublime-JS-Custom
Releases · Thom1729/Sublime-JS-Custom
Fix string object keys
v2.3.1
Upstream changes:
- Use
meta.mapping
scope instead ofmeta.object-literal
. (sublimehq/Packages#2020) - Update control keyword scopes. (sublimehq/Packages#2108)
- Signs aren't part of numeric literals. (sublimehq/Packages#2130)
- Add Promise.any|allSettled. (sublimehq/Packages#2131)
- Add optional chaining and nullish coalescing. (sublimehq/Packages#2132)
- Add dynamic import expression. (sublimehq/Packages#2133)
- Use more detailed scopes for numbers. (sublimehq/Packages#2159)
- Improve numbers parsing performance. (sublimehq/Packages#2177)
Highlight template strings by lookahead
New Feature
- Use
custom_templates.lookaheads
to highlight untagged template strings based on their contents.
v2.2.0: Merge pull request #77 from Thom1729/comment-template-spaces
New Feature
- Add new
custom_templates.comments
sub-option for highlighting template strings without custom tags. (#49)
Upstream improvements
- Recognize line endings in block comments. (sublimehq/Packages#1927)
- Don't mark
escape
/unescape
as deprecated. (sublimehq/Packages#1929) - Support private property accessors. (sublimehq/Packages#1950)
- Scope builtin errors as
support.class.builtin
. (sublimehq/Packages#1982) - Add meta.string scopes. (sublimehq/Packages#1983)
- Scope leading asterisks in documentation-style comments as punctuation. (sublimehq/Packages#1994)
- Fix a bug with variable declarations containing support names. (sublimehq/Packages#2003)
- Fix scoping for object literal keys named get and set. (sublimehq/Packages#2009)
- Narrow prototype matching in utility contexts. (sublimehq/Packages#2011)
- Use proper scopes for interpolation in template strings. (sublimehq/Packages#2019)
v2.1.2: Merge pull request #74 from Thom1729/flow-typeof
Add support for flow typeof
imports. (#73)
v2.1.1
v2.1.0: Merge pull request #71 from Thom1729/flow-import-export
- Combine
custom_template_tags
andstyled_components
options into a singlecustom_templates
option with sub-options. - Add a new
custom_templates.clear_all_scopes
option to make custom templates compatible with Emmet (at the cost of LSP compatibility). - Improve flow support to correctly scope type imports and exports.
- Running syntax tests for the core JavaScript package will no longer run JS Custom tests.
- Improve error handling when the tests fail because Sublime didn't compile syntaxes in time.
- Handle weird permissions errors on Windows.
v2.0.1: Merge pull request #55 from mohitsinghs/emmet-styled-components
Bug fixes
- Improved support for styled-components and improved Emmet compatibility. (#46)
v2.0.0
Version 2.0 is a major rewrite of the package internals. Key user-facing changes are as follows:
- Syntaxes are built or rebuilt in a separate thread to avoid blocking the UI.
- When a syntax is rebuilt, it replaces the original atomically so that Sublime will never try to load an incomplete syntax.
- Added the
clear_js_custom_user_data
command. - The package name is no longer hardcoded into the loading logic, hopefully improving manual installs.
Internal changes:
- Completely reorganized the code.
- Added syntax tests for core and extension functionality.
- Used
sublime_lib.ResourcePath
to manage resource paths rather than doing it manually.
v2.0.0-beta.1
Capitalization in install message.