Sheetal Nandi
53d555baa1
Fix the incorrect look behinds of cast expression when property name is yield
...
Fixes #562
2018-01-25 12:55:16 -08:00
Sheetal Nandi
74789e0f42
Handle the arrows inside type arguments
...
Fixes #559
2018-01-25 11:27:32 -08:00
Sheetal Nandi
c29d12d8ac
Switch to node version "8" and dont use npm@next to fix the build
2017-12-28 10:27:55 -08:00
Sheetal Nandi
8b44958a27
Support optional chaining
...
Fixes #522
2017-12-22 13:15:50 -08:00
Sheetal Nandi
faa8f6e660
Update the start and end of identifier detection
...
Fixes #554
2017-12-22 11:59:37 -08:00
Sheetal Nandi
1d2625adfc
Fix the handling of extends/implements clause
...
Fixes #551
2017-12-14 09:30:49 -08:00
Sheetal Nandi
06831946d0
Fix the type argument detection to match parenthesis and strings in simple cases
...
Fixes #549
2017-12-08 13:34:14 -08:00
Sheetal Nandi
9cdd346911
Fix cast expression detection
...
Fixes #543
2017-11-28 17:26:46 -08:00
Sheetal Nandi
8361b1a232
Relax the parameter matching lookup rule for arrow detection
...
Fixes #540 partly (only case 7)
2017-11-09 10:18:32 -08:00
Sheetal Nandi
b6e350046e
When running tests make sure to build the grammar builder
...
Also add task to accept baselines
2017-11-03 13:44:03 -07:00
Sheetal Nandi
c4036f9df0
Fix the arrow parameter detection
...
Fixes #536
2017-11-03 12:35:08 -07:00
Sheetal Nandi
3e5fcfac4a
Update the function-call typearguments matching
...
Fixes #538
2017-11-03 12:15:36 -07:00
Sheetal Nandi
4b614e2efd
Merge pull request #535 from uniqueiniquity/jsxFragment
...
Add highlighting for JSX fragment
2017-10-23 16:25:40 -07:00
uniqueiniquity
8fd66d12dd
Add JSX fragment test
2017-10-18 16:39:40 -07:00
uniqueiniquity
d7589e2b0d
Refactor JSX fragment
2017-10-18 16:39:27 -07:00
uniqueiniquity
52d132cf64
Add highlighting for JSX fragment
2017-10-18 11:30:33 -07:00
Sheetal Nandi
824f47ea6e
Merge pull request #533 from mjbvz/532
...
Add new meta scope to mark attribute lists in tags
2017-10-13 14:42:03 -07:00
Sheetal Nandi
f3a2069b99
Correct the import/export matching to exclude \*|default from as clause.
...
Fixes #531
2017-10-13 14:39:33 -07:00
Matt Bierner
8104f556fd
Add new meta scope to specifically mark attributes in tags
...
Fix #532
2017-10-12 17:30:38 -07:00
Sheetal Nandi
4109ddc9e2
Modify type parameter detection so that function call gets detected correctly
...
Fixes #530
2017-10-11 11:42:15 -07:00
Sheetal Nandi
5955a5aed3
Fix the regexp no-capture group scope name
...
Fixes #529
2017-10-10 12:16:03 -07:00
Sheetal Nandi
cd202a57fd
Do not treat use expression followed by ++ as cast expression
...
Fixes #526
2017-09-28 16:40:42 -07:00
Sheetal Nandi
d6ee336bf6
More pattern variables for arrows, type parameters etc
2017-09-28 16:18:37 -07:00
Sheetal Nandi
21f425d26a
Support usage of earlier defined variable patterns in next definitions
2017-09-28 15:23:21 -07:00
Sheetal Nandi
9bd952baf9
Add identifier, constant identifier patterns
2017-09-28 14:34:41 -07:00
Sheetal Nandi
a1f3feeba7
Allow ts grammar to have variables for the pattern matching for easy update
2017-09-28 14:27:28 -07:00
Sheetal Nandi
deae81035e
Restructuring for easy maintainence and finding syntaxes
2017-09-28 11:45:29 -07:00
Sheetal Nandi
b049c198e1
Use more stricter return type matching for single line arrow detection
...
Fixes #525
2017-09-28 09:24:59 -07:00
Sheetal Nandi
2dea76a2bd
Sync atom/language-javascript@6086114
...
Fixes #515
2017-09-25 11:03:04 -07:00
Sheetal Nandi
76cd05d3fe
Merge pull request #520 from mjbvz/tests-dirname
...
Use __dirname in tests so that cwd doesn't matter
2017-09-15 10:54:35 -07:00
Sheetal Nandi
d0127499ba
Fix incorrectly detected arrow functions
...
Fixes #521
2017-09-15 10:53:53 -07:00
Sheetal Nandi
30d95ebb56
Fix the detection of variable declaration over multiple lines when separated by ,
...
Fixes #491
2017-09-13 17:09:08 -07:00
Matt Bierner
5fe97d691d
Use __dirname in tests so that cwd doesn't matter
...
Update relative paths in tests to use `__dirname` when constructing the path
2017-09-13 16:33:51 -07:00
Sheetal Nandi
5cbc04b9d3
Update test generation for clarity of which baseline is being checked
2017-09-13 16:19:59 -07:00
Sheetal Nandi
f7ee9c3f35
Merge pull request #519 from mjbvz/lazy-generatescopes
...
Move generateScopes into `it` for tests
2017-09-13 16:17:38 -07:00
Matt Bierner
206e25c543
Move generated to before
2017-09-13 15:38:47 -07:00
Matt Bierner
f4ed28e6bf
Split back into two it tests
2017-09-13 15:15:43 -07:00
Sheetal Nandi
cf95b1ec37
Fixes the cast expression matching
...
Fixes #496
2017-09-13 14:40:50 -07:00
Matt Bierner
a5f3894dd3
Lazily run generateScopes in tests
...
**Bug**
In the tests, if the grammar causes a hang we do not handle this currently. This is because `generateScopes` is being run in the `describe` block instead of inside one of the tests
**Fix**
Move `generateScopes` into the `it` block of the test
2017-09-13 14:22:49 -07:00
Sheetal Nandi
f0fc7a0a00
Add test for #499
2017-09-13 13:46:49 -07:00
Sheetal Nandi
e50f447d12
Fix the as operator detection
...
Fixes #500
2017-09-13 13:44:00 -07:00
Sheetal Nandi
4fa9a9a803
Fix this literal matching with spread operator
...
Fixes #502
2017-09-13 13:33:43 -07:00
Sheetal Nandi
96c7b24291
Fix dynamic imports matching
...
Fixes #506
2017-09-13 13:21:57 -07:00
Sheetal Nandi
e8b504c5f2
Make sure the typeparameters arent predicted when it is expression of type < number
...
Fixes #518
2017-09-13 12:48:29 -07:00
Sheetal Nandi
d7576f26c6
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
2017-09-13 11:47:50 -07:00
Sheetal Nandi
d22d017c18
Merge pull request #516 from mjbvz/file-associations
...
Add files.associations for tmLanguage files
2017-09-13 11:28:19 -07:00
Sheetal Nandi
445b230cbd
Merge pull request #511 from mjbvz/meta-embedded
...
Mark template expressions with meta.embedded.line scope
2017-09-13 11:27:47 -07:00
Sheetal Nandi
1986ebbbb4
Merge pull request #419 from infininight/fixUUIDs
...
Generate new UUIDs
2017-09-13 11:27:32 -07:00
Matt Bierner
cf71d3bfa4
Add .YAML-tmTheme as well
2017-09-13 11:22:31 -07:00
Sheetal Nandi
4252fa12b6
Merge pull request #514 from mjbvz/fix-513
...
Support u flag for regexp
2017-09-13 11:21:21 -07:00