Andy
a33f229d82
Support completions contextual types in more places ( #20768 )
...
* Support completions contextual types in more places
* Adjust formatting
2018-01-03 13:51:33 -08:00
Benjamin Lichtman
b9ea3471a4
Simplify test and add explanatory assertion
2017-12-28 11:22:41 -08:00
Benjamin Lichtman
90e11f0797
Add dynamic file open test
2017-12-27 13:44:51 -08:00
Wesley Wigham
81fbe12c54
User runner submodule improvements ( #20868 )
...
* Add a reset and clean stage to submodule user tests, improve logging when errors occur
* Also force remove node_modules, update baselines
2017-12-22 11:41:48 -08:00
Andrew Casey
804949f744
Additional test case for contextual type check
2017-12-15 16:37:09 -08:00
Andrew Casey
129d1924be
Regression test for GH #20727
2017-12-15 15:11:18 -08:00
Wesley Wigham
2c6501db52
Allow multiple star-star globs in one pattern ( #20639 )
...
* Allow multiple starglobs in one pattern
* Add extra test case
2017-12-13 12:57:16 -08:00
Andy
84eb25c561
Handle arrays with properties in assert.deepEqual ( #20674 )
...
* Handle arrays with properties in assert.deepEqual
* Fix tests
2017-12-13 11:50:53 -08:00
Ryan Cavanaugh
65e92c624b
Merge pull request #20664 from RyanCavanaugh/clearResolutionCache
...
Clear the module resolution cache when new @types appear
2017-12-13 09:40:16 -08:00
Wesley Wigham
79a1240a19
Revert merge pull request #20429 (removing chai) ( #20654 )
...
* Revert "Merge pull request #20429 from Microsoft/unchai"
This reverts commit 66ec938164 , reversing
changes made to 37a40561ac .
* Update lockfile
2017-12-13 06:49:50 -08:00
Ryan Cavanaugh
9e122d0305
Fix test
2017-12-12 17:22:41 -08:00
Andy
8ad4aeece1
Make ChangeTracker#newLineCharacter public, to avoid having to pass newLineCharacter around as a parameter ( #20574 )
...
* Make ChangeTracker#newLineCharacter public, to avoid having to pass newLineCharacter around as a parameter
* Don't require newLineCharacter as input to ChangeTracker methods, and make it private again
2017-12-12 12:23:13 -08:00
Andy
19ea189b42
Support a "getCombinedCodeFix" service ( #20338 )
...
* Support a "getCombinedCodeFix" service
* Rename things
* Code review
* Rename things
* Update API baselines
* CodeActionAll -> CombinedCodeActions
* Take a `scope` parameter instead of `fileName` for flexibility
* Renames and bugfixes
* Make API changes internal
* Code review
* Update comment
2017-12-07 12:14:18 -08:00
Arthur Ozga
477c1f57a9
Merge pull request #20465 from Microsoft/dev/aozgaa/tsserverVersion
...
Add a status request-response for editors
2017-12-06 17:05:46 -08:00
Arthur Ozga
fcc822e879
test version request
2017-12-06 14:19:08 -08:00
Ryan Cavanaugh
ee283d1524
Merge pull request #20464 from RyanCavanaugh/fix20402
...
Don't add ambiently declared modules to ATA's unresolvedModules list
2017-12-06 13:55:54 -08:00
Ryan Cavanaugh
c15470595f
Dedupe local types from ATA and reuse old programs correctly
2017-12-06 13:17:21 -08:00
Andy
18a7c3fb53
For import fix, prefer symlink over a real path ( #20395 )
...
* For import fix, prefer symlink over a real path
* fixes
* Use best result from all symlinks
* Make originalPath optional more
* Only include real path if a symlink isn't available
2017-12-06 11:27:38 -08:00
Sheetal Nandi
7bb5fc22c2
Merge pull request #20427 from JoshuaKGoldberg/watch-immediate-clears
...
Added console clearing with a message to --watch starts
2017-12-05 10:54:54 -08:00
Arthur Ozga
7de6083748
Merge pull request #20291 from Microsoft/dev/aozgaa/tsserverProjectTestOrganization
...
Dev/aozgaa/tsserver project test organization
2017-12-05 10:51:32 -08:00
Andy
8f23bf813c
Add textChanges methods to insert nodes at the start of multiline bodies ( #20445 )
...
* Add textChanges methods to insert nodes at the start of multiline bodies
* Replace constructor body if not already multiline
2017-12-05 08:33:29 -08:00
Josh Goldberg
cf9b8baa8c
Merge branch 'master' into watch-immediate-clears
...
# Conflicts:
# src/harness/unittests/tscWatchMode.ts
2017-12-04 23:22:00 -08:00
Josh Goldberg
a389ff5f39
Unit test failure; clearHostScreen function
2017-12-04 23:11:01 -08:00
Ryan Cavanaugh
66ec938164
Merge pull request #20429 from Microsoft/unchai
...
Remove dependency on chai
2017-12-04 15:02:59 -08:00
Andy
93551ab93b
Update test that import code fix doesn't use node_modules global import if classic resolution is set ( #20453 )
2017-12-04 13:15:45 -08:00
Andy Hanson
2c929015d6
Fix deepEqual emptyArray tests
2017-12-04 10:47:17 -08:00
andy-ms
72b7d6ef4e
Remove dependency on chai
2017-12-03 18:36:29 -08:00
Josh Goldberg
a4f83b0835
Added console clearing with a message to --watch starts
...
I advocated against immediately clearing the console when starting --watch in #17756 because it was confusing to have the console suddenly become blank, wait a while, and _then_ give output. After using the feature for a little while, I think it's a little disorienting how the console will only start clearing after the first recompile. This change clears the console and immediately prints a new "Starting compilation in watch mode..." message.
2017-12-03 14:45:33 -08:00
benbraou
49a48ffd4d
fix(es2018): add a target and an initial lib ( #20385 )
...
* run Jake LKG before es2018 addition
Fixes #20342
* fix(es2018): add a target and an initial lib
Fixes #20342
2017-12-02 11:16:59 -08:00
Josh Goldberg
08c6dc99c6
"tsc --watch should clear screen on new compilation" Two: Electric Boogaloo ( #20389 )
...
* tsc --watch should clear screen on new compilation
* added optional clearScreen method to System]
* implemented via `x1Bc`, reset screen
* fixes 13020
* Feedback on if statements; api .d.ts baseline additions
* Stopped clearing screen in tsc.js's reportWatchMode
* Added unit tests
2017-12-02 11:11:49 -08:00
Andy
fd4d8ab96e
Support a 'recommended' completion entry ( #20020 )
...
* Support a 'recommended' completion entry
* Code review
* Restore duplicate comments
2017-12-01 13:00:01 -08:00
Mine Starks
1fbe684834
compileOnSaveAffectedFileList shouldn't return any files for noEmit projects
2017-11-30 14:55:41 -08:00
Andy
43a35bad2e
Miscellaneous fixes to avoid duplicate completions ( #20349 )
...
* Miscellaneous fixes to avoid duplicate completions
* Move typeHasCallOrConstructSignatures to utility
2017-11-30 09:36:17 -08:00
Arthur Ozga
e01c0be8e5
prefix top-level describe clauses in tsserverProjectSystem
2017-11-29 14:36:19 -08:00
Andy
b8f22f5144
Enable ban-types lint rule ( #19586 )
...
* Enable ban-types lint rule
* Improvements from code review
* More code review fixes
* Use just `void` in place of `{} | null | undefined | void`
2017-11-29 12:54:02 -08:00
Wesley Wigham
d79a474e6d
Handle parentless nodes in nodeIsDecorated ( #20314 )
2017-11-28 17:01:19 -08:00
Andrew Casey
e934c30513
Merge pull request #20173 from RyanCavanaugh/fixTypingsInstallerAgain_master
...
Always send a response to installTypings even if all types are cached
2017-11-27 10:47:05 -08:00
Andrew Casey
5ed31cff8c
Use stricter types for event bodies
2017-11-21 16:38:58 -08:00
Ryan Cavanaugh
ee2d436999
Always send a response to installTypings even if all types are cached
2017-11-20 21:32:56 -08:00
Andrew Casey
9cbe4eb614
Convert legacy safe list keys to lowercase on construction
2017-11-20 18:30:28 -08:00
Wesley Wigham
71ceb91c9d
Parallel runner shouldnt print nan and freeze on unestimatable tests when above batch count ( #20176 )
2017-11-20 15:47:46 -08:00
Arthur Ozga
65908ef8ba
Merge pull request #19864 from Microsoft/dev/aozgaa/eventPortTelemetry
...
Send events through a single stream
2017-11-17 20:22:57 -08:00
Arthur Ozga
d2cc4f15be
test overriding Session.event
2017-11-17 19:48:57 -08:00
Armando Aguirre
464ae31776
Merge pull request #20082 from armanio123/KendoOptionalMin
...
Modified Kendo regex to include -ui folders and files without min
2017-11-16 17:37:24 -08:00
Armando Aguirre
48aa83e13a
Modified Kendo regex to include -ui folders and files without min
2017-11-16 15:59:27 -08:00
Ryan Cavanaugh
a416826b64
Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish
2017-11-16 12:52:30 -08:00
Andy
478b404f42
Detect re-exports from "export *" in completions ( #20043 )
2017-11-16 11:15:14 -08:00
Andy
94581c1946
Strip "/index" from import fix module specifiers ( #19962 )
...
* Strip "/index" from import fix module specifiers
* Require "node" module resolution
* More tests
2017-11-16 11:12:34 -08:00
Andy
592ee00906
Have CompletionEntryDetails source use a relative path ( #19917 )
...
* Have CompletionEntryDetails source use a relative path
* Use getCanonicalFileName from services Instead of creating a new one
2017-11-14 14:26:49 -08:00
Nathan Shively-Sanders
7771d0c1fc
Merge pull request #19934 from Microsoft/add-starter-kit-to-user-tests
...
Add starter kit to user tests
2017-11-13 08:54:52 -08:00