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

416 Коммитов

Автор SHA1 Сообщение Дата
Sheetal Nandi cea95d36a8 Stop consuming spaces when determining function type and parenthesized type
Fixes #347
2016-11-07 11:44:25 -08:00
Sheetal Nandi ca47120adf Fix the regexp determination lookup 2016-11-07 11:30:10 -08:00
Sheetal Nandi 97db53518a Add test case for #346 2016-11-07 11:27:46 -08:00
Sheetal Nandi 9e936d218c Capture the arithmetic sign after the variable so that it isnt captured as regex
Fixes #343
2016-11-07 10:50:59 -08:00
Sheetal Nandi 25fe7b2393 Add support for keyof 2016-11-02 11:33:09 -07:00
Sheetal Nandi 28cde3c733 Merge pull request #330 from Microsoft/varDecls
Declarations of Variables, fields and parameters are scoped as function if they are assigned function expression or of function type
2016-11-01 15:51:14 -07:00
Sheetal Nandi 56597356c9 Merge pull request #340 from Microsoft/classExprInNewExpr
Allow class expression as part of new expression target
2016-11-01 15:49:03 -07:00
Sheetal Nandi 1c10d18812 Merge pull request #332 from Microsoft/allowExpressionInClassInheritance
Allow expression in class inheritance
2016-11-01 15:48:28 -07:00
Sheetal Nandi 9dc74a5bf0 Added support for property names that are not identifier in object binding element 2016-11-01 15:31:25 -07:00
Sheetal Nandi ed8118027f Merge branch 'master' into varDecls 2016-11-01 14:33:20 -07:00
Sheetal Nandi 9a9895400d Allow class expression as part of new expression target
Fixes #339
2016-11-01 13:23:06 -07:00
Sheetal Nandi ca507d55bf Allow Array literals inside the computed property name
Fixes #338
2016-11-01 13:15:01 -07:00
Sheetal Nandi a733ed4c65 Parse comment line shebang
Fixes #337
2016-10-27 10:11:15 -07:00
Sheetal Nandi 75538dc213 Merge branch 'master' into varDecls 2016-10-26 11:00:30 -07:00
Sheetal Nandi 5f17434b8f Handle function() case in look ahead 2016-10-26 11:00:15 -07:00
Sheetal Nandi 578dd5db70 When looking ahead for probable function assignment handle the case function(
Fixes #334
2016-10-26 10:55:20 -07:00
Sheetal Nandi 5d94572a03 Allow expression in class inheritance
Fixes #326
2016-10-25 16:38:24 -07:00
Sheetal Nandi a14e341be4 Parameters are scoped as function if assigned from function or have function type annotation 2016-10-24 14:58:21 -07:00
Sheetal Nandi f1d347c326 Property declarations are scoped as methods if they are assigned function expression or are annotated with function type 2016-10-24 14:47:54 -07:00
Sheetal Nandi 642dea665e Enable the variable declarations to be scoped as function if they have possibly function type or assignment looks like arrow function 2016-10-24 14:40:44 -07:00
Andy 6342bac951 Merge pull request #328 from Microsoft/typo
Fix typos
2016-10-24 11:20:45 -07:00
Andy Hanson 5eed88707e Fix typos 2016-10-24 07:03:46 -07:00
Sheetal Nandi a87cde2f4d Renaming the scope name of object-literal to objectliteral
This is to make sure vscode injection scope selection doesnt fail.
2016-10-21 15:05:21 -07:00
Sheetal Nandi c5c0e6e146 Merge pull request #325 from Microsoft/definitionScope
Add scope meta.definition to varible, function, method and field declarations
2016-10-21 14:50:10 -07:00
Sheetal Nandi 19899b140f Add scope meta.definition to varible, function, method and field declarations 2016-10-20 11:38:07 -07:00
Sheetal Nandi d81c7e3854 Scope out enum members explicitly so as to avoid using support variable names for them
Fixes #322
2016-10-20 09:12:26 -07:00
Sheetal Nandi f35a4dbf09 Consume parenthesis of new and function call so that they dont participate in arrow detection
Fixes #321
2016-10-18 11:32:26 -07:00
Sheetal Nandi b7a1912131 Add the expression scope to the keyword.operator to be colored as keyword 2016-10-18 10:38:22 -07:00
Sheetal Nandi fea3b25eb6 Add a backup check for complete regexp expression
Fixes #318
2016-10-17 17:16:40 -07:00
Sheetal Nandi 00279313a4 As operator can end at ':' if its part of ternary operation
Fixes #314
2016-10-17 16:54:00 -07:00
Sheetal Nandi eb922b6700 Updated the license to MIT 2016-10-17 12:32:50 -07:00
Sheetal Nandi 3915af6b7b Rename entity.name.class to entity.name.type.class 2016-10-17 11:48:06 -07:00
Sheetal Nandi 0f2c566359 Merge pull request #310 from Microsoft/someUpdates
Few bug fixes
2016-10-12 15:50:08 -07:00
Sheetal Nandi d3b73efa6a Remove usage of \G as the way its handled in sublime and vscode differs
Fixes #312
2016-10-12 12:06:27 -07:00
Sheetal Nandi acc6b06af5 Simplify variable and destructuring pattern
Fixes #307
2016-10-12 10:48:50 -07:00
Mohamed Hegazy 84082116e5 Add issue_template.md 2016-10-12 09:30:46 -07:00
Sheetal Nandi 1bde8efb45 No need to check the context for arrow since we are already speculating it based on =>
Fixes #304
2016-10-11 12:41:01 -07:00
Sheetal Nandi 072bd267fe Fix the modifier detection for fields and parameters
Fixes #305 and #306
2016-10-11 12:30:14 -07:00
Sheetal Nandi ca8743609f Support the default initializers for destructuring variables
Fixes #302
2016-10-11 12:05:15 -07:00
Sheetal Nandi 4567ceb94a Few updates 2016-10-10 16:17:14 -07:00
Sheetal Nandi 56e921e83d Merge pull request #295 from Microsoft/restAndSpreadOperator
Rest and spread operator support
2016-10-10 13:50:39 -07:00
Sheetal Nandi 7ce774fcb5 Merge branch 'master' into restAndSpreadOperator 2016-10-10 13:48:14 -07:00
Sheetal Nandi 3376784cd3 Merge pull request #296 from Microsoft/switchCaseBlock
Handle the { after case clause
2016-10-10 13:46:21 -07:00
Sheetal Nandi 3fa03f9e65 Merge pull request #293 from Microsoft/lastPropOfObjectLiteral
Handle when the last short hand property assignment of object literal ends with } on new line
2016-10-10 13:45:18 -07:00
Sheetal Nandi 2daf70a83b Add scope name for ':' punctuation of case/default clause 2016-10-07 15:31:42 -07:00
Sheetal Nandi 817281ca1e { followed by ':' can only be statement and not object literal as other scenarios are already handled
Fixes #294
2016-10-07 15:27:03 -07:00
Sheetal Nandi 0ec5ae9ca9 Adding test case for when case block starts on new line 2016-10-07 15:23:32 -07:00
Sheetal Nandi 67b3e04d13 Support Spread and Rest operator
Fixes #291
2016-10-07 13:57:39 -07:00
Sheetal Nandi 10f29f53a3 Fix scope names for ',' punctuation 2016-10-07 12:01:16 -07:00
Sheetal Nandi 87f5a51a98 Handle when the last property of object literal ends with } on new line
Fixes #292
2016-10-07 10:44:27 -07:00