Commit Graph
1804 Commits
Author SHA1 Message Date
Mine Starks 5e98bcd353 Merge pull request #12856 from minestarks/includejsdoctags
Expose JSDoc tags through the language service
2017-04-03 10:57:34 -07:00
Mohamed Hegazy 6b5c448d79 Merge pull request #14131 from Microsoft/release-2.2_default_import_name
Handle undefined import name
2017-02-16 16:23:23 -08:00
Arthur Ozga f2770a1216 widen type, index signature, and add tests 2017-02-16 14:18:11 -08:00
Arthur Ozga 150e2fbf50 add tests 2017-02-16 14:18:09 -08:00
Arthur Ozga f133a6755e wip testing 2017-02-16 14:18:09 -08:00
Arthur Ozga 533262ce83 wip 2017-02-16 14:18:08 -08:00
Andy Hanson ee13f31010 Handle undefined import name 2017-02-16 14:04:49 -08:00
Ryan Cavanaugh aec310996c Language service extensibility 2017-02-14 13:35:16 -08:00
Zhengbo Li 1f484a9a03 Merge pull request #13966 from zhengbli/13110
Delete the following new line when removing unused locals
2017-02-14 13:15:17 -08:00
Andy Hanson e74c03aca3 Add missing filename to tsx test 2017-02-14 12:17:18 -08:00
Andy 0417e3f909 Merge pull request #14050 from Microsoft/tsx_completion
Detect non-tag uses of `<` in TSX completions
2017-02-14 12:13:15 -08:00
Arthur Ozga c57fc1fa54 Merge pull request #14055 from aozgaa/UnduplicateAbstractMethodCodeFix
Unduplicate missing abstract member codefix
2017-02-14 11:42:28 -08:00
Arthur Ozga 21355982fd Offer missing abstract codefix once
* per class that is missing potentially many abstract members.
2017-02-13 16:58:14 -08:00
Andy Hanson aa5c88f5a6 Detect non-tag uses of < in TSX completions 2017-02-13 14:44:05 -08:00
Nathan Shively-Sanders 46d9f37020 Merge pull request #12033 from Microsoft/add-undefined-to-default-valued-parameters
Add undefined to default-initialised parameters
2017-02-13 13:30:46 -08:00
Mohamed Hegazy 4ec68481ba Merge pull request #13903 from Microsoft/jsPropertyWidening
Widen special JS property declarations to match regular property declarations
2017-02-09 15:08:35 -08:00
zhengbli e238b38278 Update some tests because the original marker will be deleted 2017-02-08 19:32:02 -08:00
zhengbli dc78d3314f Add test 2017-02-08 15:44:54 -08:00
Andy 51d4970ce0 Merge pull request #13760 from Microsoft/find_all_refs_tests
Change find-all-references tests to test for groups
2017-02-08 07:05:36 -08:00
Mohamed Hegazy 914150f2f1 Widen special JS property declarations to match regular property declarations 2017-02-06 09:57:12 -08:00
Zhengbo Li df643d8d02 Merge pull request #13405 from zhengbli/13137
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli e532744f16 Add test case for nested namespace 2017-02-02 14:14:40 -08:00
zhengbli 62f716aaa6 avoid removing comments when removing unused locals 2017-02-02 13:50:34 -08:00
Zhengbo Li 12e8f91bf2 Merge pull request #13831 from zhengbli/importFixCasing
Fix casing in import quick fix
2017-02-02 10:05:11 -08:00
Andy Hanson 2f49eeca26 Remove useless test file 2017-02-02 08:29:00 -08:00
Zhengbo Li 6c56b3d957 Fix casing in import quick fix 2017-02-02 02:17:49 -08:00
Mohamed Hegazy 52841924da Support string literal completion in case labels 2017-01-31 20:24:36 -08:00
Mohamed Hegazy 3b1b5e241f Add string literal completion for equality expression 2017-01-31 16:44:59 -08:00
Andy Hanson 8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00
Daniel Rosenwasser 57e224ce3a Merge branch 'master' into fixMissingThis 2017-01-30 12:01:12 -08:00
Nathan Shively-Sanders 01a9e4f9be isOptionalParameter says unused IIFE arguments are optional
Related to adding undefined, though not strictly the same, this change
adds '?' to unused IIFE parameters in quick info.
2017-01-26 12:01:27 -08:00
Andy 65125791d2 Merge pull request #13643 from Microsoft/find_all_refs_default
Support find-all-references for default exports
2017-01-26 10:33:17 -08:00
Nathan Shively-Sanders 57400fd2f4 Merge pull request #13691 from Microsoft/typo
Fix typo
2017-01-26 09:11:39 -08:00
Andy Hanson 97e964a08f Fix typo 2017-01-25 14:15:06 -08:00
Andy feb08b8b43 Merge pull request #13686 from Microsoft/goToDefinition_callback
For goToDefinition, verify that tryGetSignatureDeclaration returns a signature declaration and not a FunctionType.
2017-01-25 14:13:11 -08:00
Andy Hanson 916e67a92c For goToDefinition, verify that tryGetSignatureDeclaration returns a signature declaration and not a FunctionType. 2017-01-25 13:02:02 -08:00
Andy Hanson 16bdaaa0a6 Fix positionToLineOffset conversion for getImplementation 2017-01-25 12:53:39 -08:00
Andy Hanson 50442b5a23 Undo change to test 2017-01-24 13:57:42 -08:00
Andy Hanson e8c3d548eb Fix tests 2017-01-24 12:56:21 -08:00
Andy Hanson 0d21c241b2 Support find-all-references on mapped types.
* Need to put a 'mappedTypeOrigin' property in SymbolLinks
2017-01-24 10:17:17 -08:00
Andy Hanson 0ca4cb25d6 Support find-all-references for default exports 2017-01-23 14:31:29 -08:00
Andy Hanson 36a9f6798a Merge branch 'master' into find_all_refs_primitive 2017-01-20 06:50:52 -08:00
Andy Hanson 1267fd3030 Don't use nameTable for type keywords, and don't handle keyof. 2017-01-20 06:41:57 -08:00
Andy Hanson 9665f25011 Simplify fourslash tests by adding some helpers 2017-01-18 13:55:31 -08:00
Andy Hanson 2d232c21a2 Support find-all-references for type keywords 2017-01-18 12:27:33 -08:00
Andy Hanson d1fb894d86 Update document highlight tests: Use ranges to represent expected highlights 2017-01-17 13:51:53 -08:00
Andy Hanson 30ccc7a5d0 Merge branch 'master' into map5 2017-01-17 10:42:27 -08:00
Andy 4ba382a1d1 Merge pull request #13478 from Microsoft/string_literal_rest_parameter
Support completions for string literal in rest parameter
2017-01-17 06:40:15 -08:00
Andy 3b0f2c152b Merge pull request #13476 from Microsoft/findallrefs_unclosure
Move code out of closure in `getReferencedSymbolsForNode`
2017-01-16 09:18:39 -08:00
Andy Hanson f1b481a1b6 Support completions for string literal in rest parameter 2017-01-13 14:13:49 -08:00