Commit Graph

1696 Commits

Author SHA1 Message Date
Jason Ramsay dea66a66dc Fix comment spacing for readDirectory in shims.ts 2015-07-15 14:19:54 -07:00
Jason Ramsay 52423f0e6e CoreServicesShimHost and CoreServicesShimHostAdapter changes to support TSConfig exclude from the language service 2015-07-15 14:07:48 -07:00
Vladimir Matveev 93e5cae729 addressed PR feedback: added comments 2015-07-15 13:16:12 -07:00
Vladimir Matveev 7d6f8f33ce dispose snapshot only if new file differs from the old file 2015-07-15 13:15:56 -07:00
Vladimir Matveev ba3d2dbd14 dispose script snapshots from the old source file 2015-07-15 13:15:37 -07:00
Dick van den Brink acb9f709e4 Fix occurrences in ClassExpressions 2015-07-15 00:31:46 +02:00
Daniel Rosenwasser c5aa3ad8a3 Merge pull request #3846 from DickvdBrink/abstract-occurrences
Highlight Abstract occurrences
2015-07-13 17:08:14 -07:00
Cyrus Najmabadi 557b795ca7 Merge branch 'master' into textClassification 2015-07-13 17:01:17 -07:00
Cyrus Najmabadi 96c1b9c358 Classify Identifiers as 'Identifier', not 'Text'. 2015-07-13 16:44:07 -07:00
Dick van den Brink fc47329ed2 PR feedback for abstract keyword occurrences 2015-07-14 00:43:16 +02:00
Dick van den Brink b33a35b122 Highlight abstract keywords on classes and members 2015-07-13 23:38:10 +02:00
Dick van den Brink 6dcc9fcf65 Don't fall through to the modifier check for get/set keywords 2015-07-13 22:13:11 +02:00
Mohamed Hegazy 35ca82cfd7 Merge pull request #3738 from SaschaNaz/parenIndentFix
Fixing indentation of dangling closing parenthesis
2015-07-13 11:23:59 -07:00
Yui T f16f9d129a Merge branch 'master' of https://github.com/Microsoft/TypeScript into completionListWithLocalName 2015-07-10 11:04:21 -07:00
Daniel Rosenwasser 1daf49c067 Don't filter out JSX attributes. 2015-07-09 20:02:51 -07:00
Daniel Rosenwasser fc45219058 Spacing. 2015-07-09 19:53:10 -07:00
Daniel Rosenwasser 1b0b434422 Don't filter out the current item. 2015-07-09 19:52:54 -07:00
Yui T 41bedd2768 Use getDecalredName in service layer instead of symbol.getName 2015-07-09 17:05:57 -07:00
CyrusNajmabadi aaf0f78553 Merge pull request #3778 from Microsoft/noPushApply
Don't call push.apply, it can stack overflow with large arrays.
2015-07-08 11:25:48 -07:00
Cyrus Najmabadi e0e9bcff46 Don't call push.apply, it can stack overflow with large arrays. 2015-07-07 17:44:22 -07:00
Yui T b5b1b7b5bb Use symbol.getName for classExpression and functionExpression since it now correctly represent declared-name. 2015-07-07 15:26:01 -07:00
Yui T 872fdcf444 Merge branch 'master' into completionListWithLocalName
Conflicts:
	tests/cases/fourslash/renameLocationsForClassExpression01.ts
2015-07-07 15:17:42 -07:00
Daniel Rosenwasser 8cdd59f7be Merge pull request #3727 from Microsoft/elipsisMeansQuiet
Don't give back completions after stray dots
2015-07-07 14:45:59 -07:00
Daniel Rosenwasser d353d62434 Addressed CR feedback. 2015-07-07 12:48:17 -07:00
Daniel Rosenwasser f20cc83288 Merge branch 'master' into noImportClauseBuilders
Conflicts:
	src/services/services.ts
2015-07-06 16:43:54 -07:00
Daniel Rosenwasser 15962e0bb1 Merge branch 'master' into elipsisMeansQuiet 2015-07-06 16:39:59 -07:00
Daniel Rosenwasser 204d96037f Merge pull request #3698 from Microsoft/noObjectBindingBuilder
Don't show a builder for property names in object binding patterns
2015-07-06 16:37:43 -07:00
Daniel Rosenwasser be18381926 Removed unnecessary check. 2015-07-06 15:34:44 -07:00
Cyrus Najmabadi 1dfcc3ec0e Merge branch 'master' into cancellableDiagnostics
Conflicts:
	src/services/services.ts
	src/services/shims.ts
2015-07-06 15:19:57 -07:00
Daniel Rosenwasser 4906f41f94 Remove builder from import clauses. 2015-07-06 15:12:16 -07:00
Daniel Rosenwasser 52581678d4 Refactor completion code for object literals/bindings and import clauses. 2015-07-06 15:05:47 -07:00
Cyrus Najmabadi af94f1c5d0 Throttle how often we call into the host side to check for cancellation. 2015-07-06 14:04:42 -07:00
Yui T 7c52aaa4b8 Merge branch 'master' into completionListWithLocalName
Conflicts:
	src/compiler/checker.ts
2015-07-06 13:35:01 -07:00
Daniel Rosenwasser cacc366809 Avoid unnecessary contextToken checking, addressed CR feedback. 2015-07-06 13:27:00 -07:00
Cyrus Najmabadi bcd8cce03d Merge branch 'master' into cancellableClassification 2015-07-06 13:22:40 -07:00
Daniel Rosenwasser be73f73beb previousToken -> contextToken 2015-07-06 13:00:10 -07:00
Yui T 6da98ce897 Fix comments 2015-07-06 10:51:43 -07:00
SaschaNaz b402b63f3a Fixing first example 2015-07-05 01:22:13 +09:00
Anders Hejlsberg fc1888ec8a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-07-03 11:26:38 -07:00
Daniel Rosenwasser 935071f1c5 Don't show completion with dots not part of property accesses and qualified names. 2015-07-02 16:21:09 -07:00
Daniel Rosenwasser a61ec94501 Remove unnecessary check. 2015-07-02 16:04:34 -07:00
Ron Buckton e4ebf1fe4c Change default node pos/end to -1 2015-07-02 12:57:34 -07:00
Daniel Rosenwasser 7abe8a1550 Add builder in computed properties and index signatures. 2015-07-02 12:22:07 -07:00
Ryan Cavanaugh 77d93625cb Merge pull request #3699 from RyanCavanaugh/fixJsxAttribCompletion
Fix attribute completion following JSX exprs
2015-07-01 23:52:40 -07:00
Ryan Cavanaugh ef765e56df Filter out would-be-duplicate names from JSX attribute completion 2015-07-01 16:04:29 -07:00
Ryan Cavanaugh f465d99492 Fix attribute completion following JSX exprs 2015-07-01 15:00:06 -07:00
Yui T 2e0c3908ea Address code review 2015-07-01 14:59:07 -07:00
Yui T 7747ad4aa5 Clean up stripQuote and add comments 2015-07-01 14:25:43 -07:00
Yui T 605ab0b1fc Fix rename for class expression 2015-07-01 13:55:02 -07:00
Daniel Rosenwasser 422a405c01 Documentative and conservative checking. 2015-07-01 13:35:51 -07:00