3089 Commits

Author SHA1 Message Date
Andy Hanson
cf6c24cd02 Respond to minor PR comments 2017-03-27 11:46:38 -07:00
Andy Hanson
aa1c860f08 Merge branch 'master' into refactor_findallrefs 2017-03-27 11:31:07 -07:00
Andy Hanson
7739a88926 getReferencesInContainer: Take sourceFile as parameter 2017-03-27 10:57:54 -07:00
Josh Goldberg
523ced704f symbolDisplay comment fix: "experts" vs "exports" 2017-03-27 16:51:38 +01:00
Andy Hanson
5bcb8fa9fa Don't need types to handle string literals 2017-03-21 13:24:39 -07:00
Anders Hejlsberg
363c5144bc Merge pull request #14635 from Microsoft/fixIntersectionMethodOverrides
Fix intersection method overrides
2017-03-20 16:24:05 -07:00
Andy
18f0d85bff Merge pull request #14581 from Microsoft/foreachchild
Expose `forEachChild` as a method of Node
2017-03-20 14:56:21 -07:00
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Andy Hanson
4c71862388 Nope, need 'isInString' 2017-03-17 12:57:34 -07:00
Andy Hanson
03e0238cee Don't need isInString to be a property 2017-03-17 11:54:18 -07:00
Andy Hanson
94f6839aec Factor out FindAllReferences.Core and use Definition/Entry to allow findReferencedSymbols and getImplementationsAtPosition to return different results 2017-03-17 11:47:31 -07:00
Andy Hanson
ec558b8080 Merge branch 'master' into refactor_findallrefs 2017-03-17 08:04:04 -07:00
Vladimir Matveev
595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Zhengbo Li
5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Anders Hejlsberg
3f3b05e67e Properly track method/property distinction for intersection members 2017-03-13 13:15:09 -07:00
Andy Hanson
746b7e4798 Expose forEachChild as a method of Node 2017-03-10 10:42:26 -08:00
Yui
940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
Arthur Ozga
b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Andy
6117ed7708 Merge pull request #14391 from Microsoft/lint_better
Update tslint to `latest` (`next` is still on 4.3) and lint for BOM
2017-03-07 11:41:55 -08:00
Andy
3295ca3c73 Merge pull request #14385 from Microsoft/path-completions
Move code from 'Completions' to 'PathCompletions' namespace
2017-03-06 09:11:44 -08:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Andy
8bc21f9f68 Merge pull request #13597 from Microsoft/enum_member
Set ScriptElementKind for enum members to "enum member" instead of "const"
2017-03-03 07:35:22 -08:00
Andy Hanson
556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Andy Hanson
3bc125463b Add more missing semicolons 2017-03-03 07:00:52 -08:00
Andy Hanson
5f52549047 Merge branch 'master' into semicolon 2017-03-03 06:56:05 -08:00
Yui
5abb8f3caa Merge pull request #14371 from Microsoft/master-fix14254
[Master] Fix 14254: Return JsDoc tagName when there is no "@" sign prefix
2017-03-01 21:48:17 -08:00
Yui T
da51f39695 FIx minor stuffs 2017-03-01 21:11:34 -08:00
Kanchalai Tanglertsampan
b5c6221e36 Address PR 2017-03-01 17:46:35 -08:00
Arthur Ozga
e9fd831a9d Merge pull request #14140 from aozgaa/ImplementMissingThis
Implement Missing Property of Type `this`
2017-03-01 16:17:35 -08:00
Ron Buckton
a0271ef6c4 Merge pull request #14177 from ajafff/parent-type
Add specific types to parent property of Node interfaces
2017-03-01 13:27:45 -08:00
Arthur Ozga
207b7b0449 Merge branch 'ImplementMissingThis' of github.com:aozgaa/TypeScript into ImplementMissingThis 2017-03-01 10:42:11 -08:00
Andy
69060025ba Merge pull request #12352 from Microsoft/untyped_module_symbol
Use a symbol for untyped modules to distinguish from unknownSymbol
2017-03-01 10:38:47 -08:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Andy Hanson
aac3d80fc4 Merge branch 'master' into refactor_findallrefs 2017-03-01 08:45:41 -08:00
Andy Hanson
0f50a5ffa7 Move code from 'Completions' to 'PathCompletions' namespace 2017-03-01 08:29:33 -08:00
Andy Hanson
5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Kanchalai Tanglertsampan
e74df1e38b Remove unnecessary comment 2017-02-28 15:51:41 -08:00
Kanchalai Tanglertsampan
d6085f75c4 Return completions for JsDoc tagname even when there are no "@' sign prefix 2017-02-28 15:41:35 -08:00
Andy Hanson
7afee8c3ab Fix formatting 2017-02-28 07:55:25 -08:00
Andy Hanson
cc4a3a830f Add check for undefined declarations 2017-02-27 14:18:46 -08:00
andy-ms
c2f4b202a4 Add more specific return type for getTypeParameters() 2017-02-26 17:48:27 -08:00
Arthur Ozga
1c25034a18 instantiate generic this param correctly 2017-02-22 16:15:16 -08:00
Kanchalai Tanglertsampan
0290e20b8e Get completion of JSX attributes type when tag name is a property access expression 2017-02-21 10:54:28 -08:00
Klaus Meinhardt
6c9ba46e8b Fix compile errors 2017-02-19 22:03:32 +01:00
Arthur Ozga
2c3369e2a4 Merge branch 'master' into ImplementMissingThis 2017-02-17 14:25:00 -08:00
Arthur Ozga
33fc26cb9c Detect this type for codefix 2017-02-16 17:11:01 -08:00
Ron Buckton
6ff081fea6 Merge branch 'master' into publicTransformers 2017-02-16 14:33:01 -08:00
Arthur Ozga
8a5bebe4de Merge pull request #14097 from aozgaa/MissingPropertyFix
Missing property fix
2017-02-16 14:04:51 -08:00