Граф коммитов

416 Коммитов

Автор SHA1 Сообщение Дата
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
Sheetal Nandi 5ef90653db Update class expression to accept anonymous declaration
Fixes #486
2017-07-11 10:13:28 -07:00
Sheetal Nandi e57ddfb98b Add ] as the end for new expression
Fixes #482
2017-07-10 12:31:29 -07:00
Sheetal Nandi 4adb173b9d Update the grammar to atom/language-javascript@c24bb4e 2017-07-10 12:01:14 -07:00
Sheetal Nandi c16fb3e6f4 Module declaration is not always followed by block
Fixes #484
2017-07-10 11:49:46 -07:00
Sheetal Nandi 53821b06bf Update the string property name or object literal key detection to match puctuations 2017-06-28 14:31:11 -07:00
Sheetal Nandi c74b48e28f Fix the build break because of incorrect usage of writeFileSync 2017-06-28 12:49:45 -07:00
Sheetal Nandi ce5f7c96a7 Recognize @internal in the line and block comments
Fixes #480
2017-06-28 12:02:31 -07:00
Sheetal Nandi d3a3765ad2 Update the jsdoc grammar to atom/language-javascript@14e02bd 2017-06-28 11:39:54 -07:00
Sheetal Nandi 137e54244a Add the context test for jsx tag without attributes when matching in expression
Handles #478
2017-06-26 16:36:21 -07:00
Sheetal Nandi 3bf5728c89 Unify baseline generation and verification 2017-06-22 16:53:04 -07:00
Sheetal Nandi 342f0bb547 Fix the generator lookup to determine if value is going to be function
Fixes #477
2017-06-22 15:58:35 -07:00
Sheetal Nandi 13645189e9 Handle object-literal members so that it can handle computed names and string literal keys better
Fixes #476
2017-06-22 14:22:50 -07:00
Sheetal Nandi 7f81759f60 Create issue_template.md 2017-06-14 16:18:29 -07:00
Sheetal Nandi 9be58bc51f Add detection of dynamic import call
Fixes #470
2017-06-14 11:15:50 -07:00
Sheetal Nandi 66d38dcc3a Handle line endings in typennotation and return type little better
Fixes #472
2017-06-13 18:21:38 -07:00
Sheetal Nandi 06d27e6412 Better end regex for variable initializer
Fixes #471
2017-06-13 17:45:55 -07:00
Sheetal Nandi 4fae4f50ae Relax the string literal property name rules a bit to allow quotes in the strings
Fixes #468
2017-06-08 09:37:58 -07:00
Sheetal Nandi 3a70fab1b0 Add scope for 'this' parameter
Fixes #466
2017-06-02 15:22:48 -07:00
Sheetal Nandi 16fb0e70e3 Fix the end of variable initializer to be anything but \s and =
Cast expression is now consuming trailing spaces
Fixes #463
2017-06-02 10:44:45 -07:00
Sheetal Nandi 947bc2edaa Update the end of arrow expression to be anything but space or =>
Fixes #461
2017-06-02 10:36:10 -07:00
Sheetal Nandi 8c967fe755 Handle accessors separately so as to correctly tokenize method with name 'get/set'
Fixes #458
2017-05-24 12:06:59 -07:00
Sheetal Nandi f6cbb7092b Fixes unnecessary indirection of single line comment which also fixes how the new line is handled
Fixes #459 and #460
2017-05-24 11:04:17 -07:00
Sheetal Nandi 1acd630087 Update issue_template.md 2017-05-19 13:09:09 -07:00
Sheetal Nandi 6d8a963688 Update the vsclassification for jsx attribute names to use XML Attribute since thats what jsx files used in VS 2015 2017-05-19 12:28:57 -07:00
Sheetal Nandi 5568824c6b Handle single line comments so that they consume end of the line so that we dont use wrong lookup to determine end of syntax matching
Fixes #455
2017-05-18 15:24:15 -07:00
Sheetal Nandi 54fc3e4ee4 Handle NonNullOperator with arrow function
Fixes #453
2017-05-18 10:22:47 -07:00
Sheetal Nandi 632a9db349 End type parameter regex only on '>'
Fixes #452
2017-05-18 10:07:43 -07:00
Sheetal Nandi ac0314e5fa Fix the cast expression detection logic to include few more expression locations that would be operator location
Fixes #450
2017-05-08 10:04:22 -07:00
Sheetal Nandi d61f62a8f2 Merge pull request #449 from mjbvz/mark-tsx-class-tags
Mark TSX Class Tags Differently from Normal Html Elements
2017-05-05 10:46:22 -07:00
Matt Bierner 970dc1e9ee Add only own grammar directive 2017-05-04 16:57:26 -07:00
Matt Bierner cb1af7953d Reduce number of capture groups 2017-05-04 16:55:39 -07:00
Matt Bierner 76c512ce9a Mark TSX Class Tags Differently from Normal Elements
Fixes #415

Adds an extra marker for tsx tags that are likly a javascript/typescript class instead of a standard html element
2017-05-03 20:30:50 -07:00
Sheetal Nandi 9f6676aa2d Let the new expression end if its a function expression start 2017-04-24 16:03:35 -07:00
Sheetal Nandi 999acab7ac Nit on jsdoc pattern matching 2017-04-24 15:51:18 -07:00
Sheetal Nandi 89478c3be9 Update issue_template.md 2017-04-24 11:42:29 -07:00
Sheetal Nandi e322180ef6 Scope out interface, class and alias name so as to distinuish them
Fixes #423 and #412
2017-04-24 11:15:49 -07:00
Sheetal Nandi 53376c9bbf Dont treat async on its own as arrow/function expression start
Fixes #441
2017-04-24 10:57:09 -07:00
Sheetal Nandi 0d2bd8f1dd Update jsdoc regex to atom/language-javascript#70a6c530b8fdc678086e2883e348fb909c9e4b77
Fixes #445 and #435
2017-04-21 16:04:51 -07:00
Sheetal Nandi f2cdd8bc68 Add scope 'meta.function-call' for function-method calls
Fixes #413
2017-04-21 15:27:37 -07:00
Sheetal Nandi e0fb5e0ccc Handle '|' and '&' type operators such that they can handle new lines better
With this change spaces followed by this operator will be consumed and that will help not tripping end of type regex in many scenarios
We also handle { followed by these operators to handle constituent object type
Fixes #421
2017-04-21 14:48:39 -07:00
Sheetal Nandi 3e592ecf11 Fix the regex look up to not valid if it is followed by ')'
Fixes #444
2017-04-21 10:33:15 -07:00
Sheetal Nandi d08a6ec5ba Fix the type parameter regex to handle incorrect closing when arrow is present
Fixes #430
2017-04-21 10:13:56 -07:00
Sheetal Nandi 2aabaa4d4b Handle namespace declaration blocks
Fixes #433
2017-04-20 15:14:17 -07:00
Sheetal Nandi 7428198c10 Update the node version 2017-04-20 14:04:12 -07:00
Sheetal Nandi ad1c7daa0a Add special handling of arrow function end to be start of another declaration
This helps in error recovery scenario when arrow is detected instead of function parameters on new line
Fixes #428
2017-04-20 11:30:55 -07:00
Sheetal Nandi 36ad8ae650 Handle numberic object literal keys
Fixes #417 and #420
2017-04-20 10:53:45 -07:00
Sheetal Nandi cc5499ddfa Modify the rest operator detection in arrow function given that there exists spread operator now
Fixes #431
2017-04-20 10:34:11 -07:00
Sheetal Nandi 7d67d88bad Update the keyword to be recognized only if they are not followed by '.'
Fixes #418
2017-04-20 10:21:51 -07:00
Sheetal Nandi 2ea303c6ca Handle '|' and '&' operator in function return type when they are followed by object type
Fixes #427
2017-04-20 10:21:46 -07:00