Skip to content

Releases: microsoft/TypeScript-TmLanguage

v0.0.33

06 Mar 23:13
Compare
Choose a tag to compare
  • Treat ( followed by new line as parameter context for arrow, falling back to expression
    Handles #481, #498, #507, #524, #539, #550

Grammar diff: e8fea97...9e61a2f

v0.0.32: Merge pull request #557 from mtpc/master

06 Mar 22:55
e8fea97
Compare
Choose a tag to compare
  • Merge pull request #570 from Microsoft/dev/billti/setJsxToHtmlClassifications
    Fix issue with JSX attribute names not being colorized in VS

  • Handle new statement ending with ternary : operator
    Fixes #573

  • Handle multiline computed or string literal name methods
    Fixes #571

  • Fix the matching brackets to ensure that we handle tuples with array types correctly.
    Fixes #575

  • Handle inline comments
    Fixes #572

  • Fix the comments in for loop
    Fixes #572

  • Merge pull request #557 from mtpc/master
    support namespaced tsx

Grammar diff: 77d21fd...e8fea97

v0.0.31

09 Feb 23:37
Compare
Choose a tag to compare
  • Support for infer types

Grammar diff: 24c7fb5...77d21fd

v0.0.30: Fix the default keyword detection in import/export clause

09 Feb 04:04
Compare
Choose a tag to compare
  • Support conditional types

  • Fix the default keyword detection in import/export clause
    Fixes #569

Grammar diff: cbac0d4...24c7fb5

v0.0.27: Fix arrow parameters detection

01 Feb 18:27
Compare
Choose a tag to compare
  • Handle the arrows inside type arguments. Fixes #559 - Fix the incorrect look behinds of cast expression when property name is yield. Fixes #562
  • Ignore type-annotation when matching function arrow assignment. Fixes #556
  • Add numeric separator support. Fixes #566
  • Fix arrow parameters detection. Fixes #567

v0.0.26: Support optional chaining

28 Dec 17:52
Compare
Choose a tag to compare
  • Fix the handling of extends/implements clause
    Fixes #551

  • Update the start and end of identifier detection
    Fixes #554

  • Support optional chaining
    Fixes #522

v0.0.25: Fix the type argument detection to match parenthesis and strings in s…

08 Dec 22:02
Compare
Choose a tag to compare
  • Sync atom/language-javascript@6086114
    Fixes #515

  • Use more stricter return type matching for single line arrow detection
    Fixes #525

  • Restructuring for easy maintainence and finding syntaxes

  • Allow ts grammar to have variables for the pattern matching for easy update

  • Add identifier, constant identifier patterns

  • Support usage of earlier defined variable patterns in next definitions

  • More pattern variables for arrows, type parameters etc

  • Do not treat use expression followed by ++ as cast expression
    Fixes #526

  • Fix the regexp no-capture group scope name
    Fixes #529

  • Modify type parameter detection so that function call gets detected correctly
    Fixes #530

  • Add new meta scope to specifically mark attributes in tags

Fix #532

  • Correct the import/export matching to exclude *|default from as clause.
    Fixes #531

  • Merge pull request #533 from mjbvz/532

Add new meta scope to mark attribute lists in tags

  • Add highlighting for JSX fragment

  • Refactor JSX fragment

  • Add JSX fragment test

  • Merge pull request #535 from uniqueiniquity/jsxFragment

Add highlighting for JSX fragment

  • Update the function-call typearguments matching
    Fixes #538

  • Fix the arrow parameter detection
    Fixes #536

  • When running tests make sure to build the grammar builder
    Also add task to accept baselines

  • Relax the parameter matching lookup rule for arrow detection
    Fixes #540 partly (only case 7)

  • Fix cast expression detection
    Fixes #543

  • Fix the type argument detection to match parenthesis and strings in simple cases
    Fixes #549

v0.0.24: Merge pull request #520 from mjbvz/tests-dirname

15 Sep 19:53
Compare
Choose a tag to compare
  • Generate new UUIDs
    TextMate and other similar editors require the UUID value to be globally unique, I am not aware of VSCode's usage of UUIDs. For the Comments file the UUID was shared with the similar preference item from the JavaScript bundle causing the conflict. For the theme files the UUID conflict was with the language grammar files in this bundle.

  • Handle object-literal members so that it can handle computed names and string literal keys better
    Fixes #476

  • Fix the generator lookup to determine if value is going to be function
    Fixes #477

  • Unify baseline generation and verification

  • Add the context test for jsx tag without attributes when matching in expression
    Handles #478

  • Update the jsdoc grammar to atom/language-javascript@14e02bd

  • Recognize @internal in the line and block comments
    Fixes #480

  • Fix the build break because of incorrect usage of writeFileSync

  • Update the string property name or object literal key detection to match puctuations

  • Module declaration is not always followed by block
    Fixes #484

  • Update the grammar to atom/language-javascript@c24bb4e

  • Add ] as the end for new expression
    Fixes #482

  • Update class expression to accept anonymous declaration
    Fixes #486

  • Update the end of import declaration at the new line as well as end of the line
    Fixes #485

  • Merge pull request #494 from briangonzalez/patch-1
    grammer -> grammar

  • Merge pull request #490 from pchaigno/fix-license-file
    Remove non-standard text at beginning of license
    Because of the non-standard text at the beginning of the license, it cannot be automatically recognized by tools such as Licensee.

  • Merge pull request #514 from mjbvz/fix-513
    Support u flag for regexp
    Fixes #513

  • Merge pull request #511 from mjbvz/meta-embedded
    Mark template expressions with meta.embedded.line scope

  • Merge pull request #516 from mjbvz/file-associations
    Add files.associations for tmLanguage files

  • Add simple variable assignment expression matching to object literal member to handle cases where the destructuring parameters of arrow are span multiple lines
    Fixes #510

  • Make sure the typeparameters arent predicted when it is expression of type < number
    Fixes #518

  • Fix dynamic imports matching
    Fixes #506

  • Fix this literal matching with spread operator
    Fixes #502

  • Fix the as operator detection
    Fixes #500

  • Add test for #499

  • Merge pull request #519 from mjbvz/lazy-generatescopes
    Lazily run generateScopes in tests

  • Fixes the cast expression matching
    Fixes #496

  • Update test generation for clarity of which baseline is being checked

  • Use __dirname in tests so that cwd doesn't matter
    Update relative paths in tests to use __dirname when constructing the path

  • Fix the detection of variable declaration over multiple lines when separated by ,
    Fixes #491

  • Fix incorrectly detected arrow functions
    Fixes #521

v0.0.23: Update the string property name or object literal key detection to ma…

30 Jun 02:54
Compare
Choose a tag to compare
  • Handle object-literal members so that it can handle computed names and string literal keys better
    Fixes #476

  • Fix the generator lookup to determine if value is going to be function
    Fixes #477

  • Unify baseline generation and verification

  • Add the context test for jsx tag without attributes when matching in expression
    Handles #478

  • Update the jsdoc grammar to atom/language-javascript@14e02bd

  • Recognize @internal in the line and block comments
    Fixes #480

  • Fix the build break because of incorrect usage of writeFileSync

  • Update the string property name or object literal key detection to match puctuations

v0.0.22: Add detection of dynamic import call

14 Jun 23:16
Compare
Choose a tag to compare
  • Update the end of arrow expression to be anything but space or =>. Fixes #461
  • Fix the end of variable initializer to be anything but \s and =. Cast expression is now consuming trailing spaces. Fixes #463
  • Add scope for 'this' parameter. Fixes #466
  • Relax the string literal property name rules a bit to allow quotes in the strings. Fixes #468
  • Better end regex for variable initializer. Fixes #471
  • Handle line endings in type annotation and return type little better. Fixes #472
  • Add detection of dynamic import call. Fixes #470