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
Matt Bierner
072594df24
Update other reference as well
2017-09-13 11:08:02 -07:00
Matt Bierner
0ec4686f6c
Add files.associations for tmLanguage files
2017-09-11 17:46:07 -07:00
Matt Bierner
1b35a7fcfe
Support u flag for regexp
...
Fixes #513
2017-09-11 15:49:06 -07:00
Matt Bierner
1b4da07d0d
Mark template expressions with meta.embedded.line tag
...
**Problem**
VS Code themes currently hardcode a solution for reseting expression colorization inside of template string substitution expressions. This is not scalable since it js/ts specific
With https://github.com/Microsoft/vscode/issues/33120 I've proposed that VS Code themes reset styling inside of meta.embedded scopes to support this across multiple languages
**Fix**
Marks template substitution expressions with the additional `meta.embedded.line.ts` scope
2017-09-06 13:30:17 -07:00
Mohamed Hegazy
c1e19d3d4f
Merge pull request #490 from pchaigno/fix-license-file
...
Remove non-standard text at beginning of license
2017-08-14 13:45:57 -07:00
Mohamed Hegazy
90f46adafc
Merge pull request #494 from briangonzalez/patch-1
...
grammer -> grammar
2017-08-14 13:43:06 -07:00
Brian Gonzalez
c0f7784c70
Update README.md
2017-08-02 18:47:51 -07:00
Paul Chaignon
78d27be243
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.
2017-07-23 12:31:09 +02:00
Sheetal Nandi
648a036db2
Update the end of import declaration at the new line as well as end of the line
...
Fixes #485
2017-07-11 10:33:20 -07:00