Ron Buckton
208dfa6b01
Merge branch 'master' into dynamicNames
2017-11-03 22:10:28 -07:00
Andy
845c066923
Check for unused locals in commonjs modules ( #19612 )
2017-11-03 17:46:19 -07:00
Andy
bb7fb7dda9
For getCompletionsAtPosition, require a flag to provide completions with code actions ( #19687 )
...
* For getCompletionsAtPosition, require a flag to provide completions with code actions
* Change name
* Increase API version
* Update API baselines
* Add comment
* Update API baseline
2017-11-03 15:55:31 -07:00
Anders Hejlsberg
f75a1dce88
Merge pull request #19726 from Microsoft/fixNeverTypeCall
...
Disallow calls on never type
2017-11-03 15:39:19 -07:00
Andy
749e151c23
Support path completions inside node_modules ( #19692 )
...
* Support path completions inside node_modules
* Fix: Start searching from current file's directory, not host.getCurrentDirectory()
* Add test for nested node_modules
* Also test in /src/folder/b.ts
2017-11-03 15:05:44 -07:00
Anders Hejlsberg
f701b1300f
Add tests
2017-11-03 14:40:06 -07:00
Mohamed Hegazy
1e89e78dd2
Fix incorrect relative module name detection ( #19702 )
2017-11-03 08:59:19 -07:00
Andy
d54ad4b01a
Add refactoring to use default import ( #19659 )
...
* Add refactoring to use default import
* Add localizable description
2017-11-03 08:31:13 -07:00
Anders Hejlsberg
a7e6c36012
Merge branch 'master' into fixIntersectionTypeInference
2017-11-02 20:07:53 -07:00
Anders Hejlsberg
a8d3cd6dfe
Merge pull request #19697 from Microsoft/fixFreshLiteralsInIntersections
...
Fix fresh literals in intersections
2017-11-02 17:37:55 -07:00
Anders Hejlsberg
63f7029b9a
Add regression tests
2017-11-02 17:31:17 -07:00
Anders Hejlsberg
18b5ade05d
Add regression test
2017-11-02 14:48:34 -07:00
Andy
01ad4f7dfb
Support quick info at function and => locations ( #19669 )
...
* Support quick info at `function` and `=>` locations
* Fixes
2017-11-02 14:47:23 -07:00
Wesley Wigham
ba98cbbf92
User code runner draft ( #19539 )
...
* Realworld runner draft
* Baseline tsc output instead of just checking exit code
* use latest instead of major minor pin
* Add 7 more test cases + update gitignore
* Update baselines for realworld/user tests
* Rename to user
* Do not commit lockfiles
* Add code to run user tests on CRON
* Add rest of most-dependend packages to user tests
Turns out levelup doesn't have types! So I removed that one.
2017-11-01 16:22:37 -07:00
Benjamin Lichtman
dcc1f1497f
Merge pull request #19619 from uniqueiniquity/indentJsxText
...
Properly indent JSXText on format document
2017-11-01 09:03:52 -07:00
uniqueiniquity
9f68ff5b0f
Remove markers
2017-10-31 16:10:17 -07:00
uniqueiniquity
20e1f5258b
Update test
2017-10-31 16:09:30 -07:00
Armando Aguirre
cf2bdf8250
Merge pull request #19175 from armanio123/AddDefinitionAndBoundSpan
...
Added DefinitionAndBoundSpan command
2017-10-31 14:58:36 -07:00
uniqueiniquity
b6ea2f955a
Refactor test and annotate object literal
2017-10-31 14:52:15 -07:00
wenlu.wang
deb94886fd
fix completion module path ( #19351 )( #19367 ) ( #19366 )
...
* completion module path with re-export(#19351 )
* completion module path with dynamic import(#19367 )
2017-10-31 14:10:38 -07:00
uniqueiniquity
9b9032f8c5
Add JSXText indentation test
2017-10-31 14:09:36 -07:00
Nathan Shively-Sanders
98e9a561af
Merge pull request #19219 from Microsoft/abstract-property-access-error-in-own-constructor-only
...
Abstract property access error in own constructor only
2017-10-31 13:27:24 -07:00
uniqueiniquity
3ebb2e8a34
Merge branch 'master' into jsxFragment
2017-10-31 10:53:57 -07:00
Wesley Wigham
c2aa13dac5
Parenthesize export assignments if needed ( #19590 )
...
* parenthesize export assignments if needed
* Add default-specific parenthesization to handle lookahead
* New parenthesization logic for export default
* Handle commalist and comma cases
2017-10-30 18:23:32 -07:00
Ron Buckton
26ca98c820
Merge branch 'master' into dynamicNames
2017-10-30 18:02:53 -07:00
Armando Aguirre
d5c18a6fb7
Merge branch 'master' into AddDefinitionAndBoundSpan
2017-10-30 17:02:23 -07:00
Andrew Casey
a89c055a48
Merge pull request #19578 from amcasey/GH19395
...
Don't pass synthesized node to typeToTypeNode
2017-10-30 16:35:20 -07:00
Anders Hejlsberg
7f4a132af9
Merge pull request #19564 from Microsoft/fixGenericMappedTypeRelationships
...
Fix generic mapped type relationships
2017-10-30 12:42:24 -07:00
Ron Buckton
91c37f72d3
Merge pull request #19401 from Microsoft/fix19349
...
Remove escaped names of well known symbols from string completions
2017-10-30 12:37:13 -07:00
Andy
f0da3d7336
Fix declaration emit for typeof default export ( #19471 )
...
* Fix declaration emit for `typeof` default export
* Add comment
2017-10-30 11:40:32 -07:00
Andrew Casey
d8aafeef0a
Add regression test for #19395
...
Thanks to @mjbvz for finding it and @sandersn for reducing it.
2017-10-30 11:21:22 -07:00
Andy
212efd5c7b
In quick info, show all jsdoc tags ( #19357 )
2017-10-30 10:27:19 -07:00
Anders Hejlsberg
ec2aecf90e
Add tests
2017-10-29 16:49:43 -07:00
Ron Buckton
170e6ec130
Ensure correct errors when emitting declarations
2017-10-26 15:50:07 -07:00
Anders Hejlsberg
14b7e755ef
Add tests
2017-10-26 14:56:54 -07:00
Andy
9c96eee7a4
Support completion details for special JsDoc completions ( #19494 )
2017-10-26 10:58:33 -07:00
Andy
9615e54e13
Support multiple completions with the same name but different source module ( #19455 )
...
* Support multiple completions with the same name but different source module
* Use optional parameters for source
* Simplify use of `uniques`
* Update test
* Fix `undefined` error
2017-10-26 08:22:17 -07:00
uniqueiniquity
a83ec4167e
Added test for preventing fragment with jsxFactory
2017-10-25 10:18:18 -07:00
Armando Aguirre
c62f2880cb
Merge branch 'AddDefinitionAndBoundSpan' of https://github.com/armanio123/TypeScript into AddDefinitionAndBoundSpan
2017-10-24 14:02:41 -07:00
Armando Aguirre
7f577dcef3
Added triple slash support
2017-10-24 14:02:02 -07:00
Armando Aguirre
ae266f6aa1
Merge branch 'master' into AddDefinitionAndBoundSpan
2017-10-24 11:18:07 -07:00
Andrew Casey
1b6e991924
Demote some extraction ranges to produce better results
...
Attempt to extract return expressions, rather than return statements, and
initializers, rather than variable declarations.
2017-10-24 11:13:49 -07:00
Ron Buckton
a0412da4fa
Merge branch 'master' into fix19349
2017-10-23 14:51:05 -07:00
Andy
f916e38015
For @types installing quickfix, only activate for implicit-any module ( #19394 )
2017-10-23 13:36:36 -07:00
Anders Hejlsberg
414f165df0
Add tests
2017-10-23 12:36:44 -07:00
Ron Buckton
a31ce789f4
Remove escaped names of well known symbols from string completions
2017-10-21 17:19:46 -07:00
Ron Buckton
51929acb89
Merge branch 'master' into dynamicNames
2017-10-21 00:36:52 -07:00
Ron Buckton
3341e07e67
Refactor widening
2017-10-20 22:52:20 -07:00
Andy
8b7d859fb3
Make it a noImplicitAny error to fail to provide type arguments to a superclass via @augments ( #18778 )
...
* Make it a noImplicitAny error to fail to provide type arguments to a superclass via @augments
* Don't recommend to add an @augments tag if it already exists
* Suggestions from code review
* Shorten error message
2017-10-20 09:41:19 -07:00
Nathan Shively-Sanders
1ea1254e8e
Merge pull request #19355 from Microsoft/sandersn/fix-getParameterSymbolFromJSDoc
...
fix getParameterSymbolFromJSDoc
2017-10-19 19:35:10 -07:00