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

416 Коммитов

Автор SHA1 Сообщение Дата
Sheetal Nandi 752ba0e007 Add test case when last property of object literal is short hand property assignment 2016-10-07 10:41:48 -07:00
Sheetal Nandi 6e4b81f40f Merge pull request #289 from Microsoft/Fixes_10_3
Few bug fixes
2016-10-04 11:35:48 -07:00
Sheetal Nandi f39ff47caf Update the theme file so that scope rename in 67954e4 is reflected 2016-10-04 11:31:32 -07:00
Sheetal Nandi cf0b91dbbd Removed unnecessary scope name 2016-10-04 11:19:27 -07:00
Sheetal Nandi e8c613f1d4 Distinguish between jsx-tag start from expression vs from jsx children,
since inspection of context is not needed to distinguish relational operation when already in jsx context
Fixes #283
2016-10-04 11:13:52 -07:00
Sheetal Nandi 67954e4ba0 Rename the scope of jsx evaluated code to meta.embedded.expression
Handles #280
2016-10-03 11:06:29 -07:00
Sheetal Nandi 5433f90880 new/constructor followed by ':' are not methods
Fixes #285
2016-10-03 10:21:22 -07:00
Sheetal Nandi 01aab15c08 Merge pull request #277 from Microsoft/fixes_9_29
Few bug fixes
2016-09-29 14:57:09 -07:00
Sheetal Nandi 52bb30d79b Update jsdoc type and variable recognition
Fixes #276
2016-09-29 14:41:22 -07:00
Mohamed Hegazy 8273a90db4 Add Link to VSCode extension 2016-09-29 12:22:57 -07:00
Sheetal Nandi 01b3bf11c2 Don't scope object literal keys as entity.name.attribute-name 2016-09-29 11:38:52 -07:00
Sheetal Nandi 6443ff7e6a await can be used in expression
Fixes #274
2016-09-29 11:15:37 -07:00
Sheetal Nandi e72f95555e Merge pull request #272 from Microsoft/returnTypeEndRegex
Fix the end expression regex for return type
2016-09-28 16:03:16 -07:00
Sheetal Nandi 12e2c2bb7c Fix the usage of \G in destructuring vars 2016-09-28 14:51:17 -07:00
Sheetal Nandi 37d085ff54 Remove usage of \G from the object literal members 2016-09-28 14:35:55 -07:00
Sheetal Nandi 9e0c59c32d Fix the end expression regex for return type
It could end at \} if its last object type member without ';'
2016-09-28 11:58:36 -07:00
Sheetal Nandi aeb3fc9603 Merge pull request #270 from Microsoft/detailedScoping
Scope variables, functions, methods, properties, objects, constants
2016-09-26 17:05:26 -07:00
Sheetal Nandi b8bd8cda6d Update the build and test to use latest packages 2016-09-26 17:02:13 -07:00
Sheetal Nandi 25e792b647 Indexer is something that has identifier(parameter) followed by [ with or without type annotation
Fixes #197
2016-09-26 16:16:11 -07:00
Sheetal Nandi 9e3d7a2631 Use expression as one of the rule in class body to pick up assignments to field declaration that are not on the same line
Fixes #221
2016-09-26 14:24:54 -07:00
Sheetal Nandi 41478e6392 constructor and new keyword do start the constructor/new signature independent of presence of (
Fixes #171
2016-09-26 13:53:01 -07:00
Sheetal Nandi c7d3c02ba0 Numeric literals can be used as type 2016-09-26 12:00:10 -07:00
Sheetal Nandi 34b250990e identifier.prototype makes identifier a class 2016-09-23 16:17:14 -07:00
Sheetal Nandi ad0ec07386 Adding third party notices 2016-09-23 15:51:09 -07:00
Sheetal Nandi 7ea03120a4 Scope dom properties as properties only if they are not used as function 2016-09-23 15:34:21 -07:00
Sheetal Nandi 55c8c9e50d Scope functions, variables, methods, properties, objects, constants 2016-09-23 15:12:32 -07:00
Sheetal Nandi 74d7b4d06c Add support classes, functions, properties and constants
Fixes #71, #72
2016-09-23 10:39:47 -07:00
Sheetal Nandi 1c934d76bf Update the type parameter and arrow function look ahead regex 2016-09-22 15:15:20 -07:00
Sheetal Nandi 805eaa48b8 Minor changes 2016-09-22 10:57:21 -07:00
Sheetal Nandi 5ca49266ee < followed by default can be cast or arrow type parameter
Fixes #62
2016-09-22 09:09:06 -07:00
Sheetal Nandi 46a048d167 Merge pull request #267 from Microsoft/robustTests
Verify files against both grammars unless specified otherwise
2016-09-21 16:52:19 -07:00
Sheetal Nandi 71d0430870 Make tags accomodate spaces
Fixes #264
2016-09-21 16:48:43 -07:00
Sheetal Nandi 63495453b2 Accept baselines 2016-09-21 16:27:47 -07:00
Sheetal Nandi c0fe7270de Jsx tag start depends on surrounding context
Fixes #268
2016-09-21 15:46:47 -07:00
Sheetal Nandi 5cae3192ed Jsx are available in expression context not in statement context 2016-09-21 14:34:02 -07:00
Sheetal Nandi 1f019cca04 Compare the baselines against both the grammars unless specified
Fixes #91
2016-09-21 13:36:46 -07:00
Sheetal Nandi fd25d9aeda Generated baselines with clean file text (without marker)
This makes it easier to copy paste the file text in the editor when verifying
2016-09-21 12:39:50 -07:00
Sheetal Nandi 0076313da7 Output Grammar name with the baseline scopes
Also cleans up existing generated folder to ensure we are always comparing latest results
2016-09-21 12:38:22 -07:00
Sheetal Nandi 9c7430d428 Merge pull request #263 from Microsoft/functionTypeEnhancement
Fix handling of function type, type alias declaration and type annotation operator
2016-09-20 16:20:35 -07:00
Sheetal Nandi 6e62cd36f5 Merge branch 'master' into functionTypeEnhancement 2016-09-20 16:09:51 -07:00
Sheetal Nandi 066bddd73f Merge pull request #265 from Microsoft/updateGrammarScript
Use build script to generate grammars
2016-09-20 15:56:09 -07:00
Sheetal Nandi b13a404624 Use @types instead of typings 2016-09-20 15:53:04 -07:00
Sheetal Nandi 498be45fcb Update approveryor.yml 2016-09-20 15:05:14 -07:00
Sheetal Nandi c8771885be Generate TypeScriptReact theme 2016-09-20 15:00:43 -07:00
Sheetal Nandi 489c3ad934 VS Theme generation for TypeScript 2016-09-20 14:29:15 -07:00
Sheetal Nandi c6111dabd4 Update read me to reflect change in the work flow 2016-09-20 14:03:01 -07:00
Sheetal Nandi dfdd2cb6f6 Generate TypeScriptReact grammar 2016-09-20 13:58:52 -07:00
Sheetal Nandi 2d455cafe0 Initial script to generate tmLanguage file for TypeScript grammar from yaml file 2016-09-20 13:00:30 -07:00
Sheetal Nandi 3f7e967aaf Handle type alias declaration spanning multiple lines
Fixes #166 #206 #231
2016-09-19 13:55:51 -07:00
Sheetal Nandi 2e290b2598 Add scope for type annotation operator ':' 2016-09-19 12:22:57 -07:00