Commit graph

17883 commits

Author SHA1 Message Date
Sheetal Nandi
303d7b209e Merge branch 'master' into completionListForClassElementDeclarations 2017-05-12 15:31:52 -07:00
Mohamed Hegazy
0455aaf427 Merge pull request #15805 from Microsoft/Fix14661
Add insertSpaceAfterTypeAssertion to the server protocol
2017-05-12 15:10:46 -07:00
Mohamed Hegazy
ca748d6c02 Add insertSpaceAfterTypeAssertion to the server protocol 2017-05-12 14:48:13 -07:00
Arthur Ozga
0588f8b380 cleanup 2017-05-12 13:56:54 -07:00
Arthur Ozga
62dbf12825 Merge branch 'master' into typeToStringViaTypeNode 2017-05-12 13:09:43 -07:00
Mohamed Hegazy
d68b436e7d Merge pull request #15789 from Microsoft/master-fix15742
[Master] fix15742
2017-05-12 12:22:43 -07:00
Sheetal Nandi
99ea9c730f Add the members of interfaces that need to be implemented to class element completion 2017-05-12 12:13:16 -07:00
Yui T
8907c70a86 Address PR 2017-05-12 11:54:23 -07:00
Mohamed Hegazy
1becbf4d2c Merge pull request #15754 from charlespierce/string_literal_completion
Prevent Duplicate String Literal Completions
2017-05-12 11:07:00 -07:00
Andy
bed1e02f87 Merge pull request #15783 from Microsoft/goToDef-default
goToDefinition: Skip default and `=` imports
2017-05-12 11:00:41 -07:00
Andy Hanson
aaf6b83cb5 Don't goto aliased symbol with no declarations; and update tests 2017-05-12 10:26:39 -07:00
Andy
e6d472c291 Merge pull request #15541 from Microsoft/union-completion
For completions of union type, get all possible properties
2017-05-12 10:23:34 -07:00
Ron Buckton
22cf036ed9 Clean up naming, add documentation, flatten (some) nested commas 2017-05-12 09:57:39 -07:00
Nathan Shively-Sanders
1328cb81e6 Merge pull request #15777 from Microsoft/move-levenshtein-out-of-public-API
Move Levenshtein distance out of public API
2017-05-12 07:57:03 -07:00
Ron Buckton
f45f7579fc Adds CommaList to avoid large deeply nested comma expressions 2017-05-11 23:51:20 -07:00
Yui T
8d09085800 Add more tests and update baselines 2017-05-11 22:40:34 -07:00
Yui T
84f419b533 getApparentType of the propsType 2017-05-11 22:40:21 -07:00
Arthur Ozga
3640abd0a7 Remove unused flags 2017-05-11 18:59:40 -07:00
Arthur Ozga
7d48deec34 handle todo 2017-05-11 18:44:26 -07:00
Arthur Ozga
0432257949 use EmitFlags.SingleLine 2017-05-11 18:39:40 -07:00
Arthur Ozga
c099938f61 move state to flags 2017-05-11 18:18:35 -07:00
Arthur Ozga
82109d3d1c cleanup 2017-05-11 17:39:27 -07:00
Ron Buckton
a12ec1af43 Merge pull request #15788 from Microsoft/fix15707
if a JSSpecialPropertyDeclaration has a JSDoc type, use it
2017-05-11 17:10:52 -07:00
Arthur Ozga
a5e93c427b remove souceFile checks 2017-05-11 16:44:05 -07:00
Kanchalai Tanglertsampan
705771d874 Update baselines 2017-05-11 16:31:40 -07:00
Kanchalai Tanglertsampan
bce7ddb5c5 Add tests and update lib tests file 2017-05-11 16:30:56 -07:00
Kanchalai Tanglertsampan
181ff86150 getApparentType for each constituent of props type of the targetAttributesType 2017-05-11 16:30:43 -07:00
Ron Buckton
3521b9c546 if a JSSpecialPropertyDeclaration has a JSDoc type, use it 2017-05-11 16:23:05 -07:00
Andy Hanson
d6fa91edcd goToDefinition: Skip default and = imports 2017-05-11 15:49:30 -07:00
Andy Hanson
5a4be34aaf Merge branch 'master' into union-completion 2017-05-11 15:24:13 -07:00
Ron Buckton
1a7c193621 Merge pull request #15753 from Microsoft/es2017Atomics
Adds definitions for the es2017 Atomics global object
2017-05-11 14:43:49 -07:00
Sheetal Nandi
588c4eca42 Filter out existing members of the class from the completion list 2017-05-11 14:19:35 -07:00
Arthur Ozga
d5f34da9dd Accept baselines and update test 2017-05-11 14:07:33 -07:00
Andy Hanson
7c89ff7d77 Inline resolvedModuleFromResolved 2017-05-11 13:39:37 -07:00
Andy
7a64de3aa9 Merge pull request #15772 from Microsoft/getWidth
findAllReferences: Clean up uses of `getWidth` and `getStart`
2017-05-11 13:23:10 -07:00
Nathan Shively-Sanders
9520108b9f Move Levenshtein distance out of public API
I had put it in the wrong half of utilities.ts.
2017-05-11 13:18:46 -07:00
Andy
83beae7b8d Merge pull request #15751 from Microsoft/tsx-gotodef
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-11 13:12:22 -07:00
Nathan Shively-Sanders
b1da19ac42 Merge pull request #15771 from Microsoft/ambient-block-scoped-references-in-different-files
Ambient block scoped references in different files
2017-05-11 12:37:06 -07:00
Andy Hanson
6d6cdac645 Handle escaped identifiers 2017-05-11 12:22:10 -07:00
Andy Hanson
20a70f99b1 findAllReferences: Clean up uses of getWidth and getStart 2017-05-11 11:58:54 -07:00
Sheetal Nandi
a8ad40f131 Add async to the list of class element completion keyword and refactoring according to feedback 2017-05-11 11:42:36 -07:00
Nathan Shively-Sanders
7803c1ce17 Test:reference ambient block scoped vars in different file 2017-05-11 11:38:26 -07:00
Nathan Shively-Sanders
e76c96ce54 Allow references to ambient block scoped variables
Even when
1. --out or --outfile is specified
2. The block scoped variable's file is after the referrer's file.
2017-05-11 11:37:28 -07:00
Charles Pierce
cff19ab3d3 Switch map to be used as a set rather than a map 2017-05-11 10:42:25 -07:00
Arthur Ozga
ac6018aa95 type arguments in qualified names 2017-05-11 10:21:13 -07:00
Andy
60def44886 Merge pull request #15767 from Microsoft/moduleResolution
Fail on bad moduleResolution kind
2017-05-11 09:35:29 -07:00
Andy Hanson
5c5b5e9a3b Fail on bad moduleResolution kind 2017-05-11 09:07:03 -07:00
Andy
066bb16173 Merge pull request #15539 from Microsoft/isolated-modules_export-star
Never elide an `export *` when `--isolatedModules` is set
2017-05-10 17:59:08 -07:00
Andy
2ba89fc534 Merge pull request #15538 from Microsoft/isolated-modules_re-export-type
Don't allow to re-export a type when '--isolatedModules' is set
2017-05-10 17:58:49 -07:00
Charles Pierce
3c8732fab1 Prevent Duplicate String Literal Completions 2017-05-10 17:26:47 -07:00