Commit graph

23467 commits

Author SHA1 Message Date
Ryan Cavanaugh
69f73eba16 Return mapped locations in alternate fields 2018-05-11 17:22:10 -07:00
Nathan Shively-Sanders
dfef2fa9a2
Add another test of js special assignment merging (#24070) 2018-05-11 16:24:42 -07:00
Armando Aguirre
5cc833a5f5
Merge pull request #24049 from armanio123/AddDeferredToProjectTelemetry
Add deferred to project telemetry
2018-05-11 13:07:32 -07:00
Mohamed Hegazy
b0c67fd023
Merge pull request #24056 from a-tarasyuk/bug/23891-declarationDir-needs-to-be-handled-in-excludeSpecs
Add declarationDir to excludeSpec
2018-05-11 12:56:15 -07:00
Alexader
60d39d7f18 add tests 2018-05-11 21:27:40 +03:00
Mohamed Hegazy
cc36cfc834
Merge pull request #24050 from Microsoft/fix-js-initializer-merging
Fix js initializer merging
2018-05-11 10:45:20 -07:00
Nathan Shively-Sanders
2792ff97dd Add fourslash test case 2018-05-11 09:51:12 -07:00
Nathan Shively-Sanders
de9ff1b004 Assert:only merge into transient symbols 2018-05-11 09:12:25 -07:00
csigs
bdc0a3e3cd
LEGO: Merge pull request 24061
LEGO: Merge pull request 24061
2018-05-11 09:11:36 -07:00
csigs
d75d6426d0 LEGO: check in for master to temporary branch. 2018-05-11 16:10:55 +00:00
Alexander T
bb615ac3f9 Add declarationDir to excludeSpec 2018-05-11 13:47:44 +03:00
csigs
3f6a8e5fb7
LEGO: Merge pull request 24055
LEGO: Merge pull request 24055
2018-05-11 03:11:02 -07:00
csigs
82fd6b6cfa LEGO: check in for master to temporary branch. 2018-05-11 10:10:42 +00:00
csigs
5ca375c22c
LEGO: Merge pull request 24051
LEGO: Merge pull request 24051
2018-05-10 21:10:47 -07:00
csigs
3a0504ebc5 LEGO: check in for master to temporary branch. 2018-05-11 04:10:27 +00:00
Nathan Shively-Sanders
904f8df9c1 Fix repeated merging of js initializers 2018-05-10 20:58:59 -07:00
Andrew Casey
020d6c7ba3
Merge pull request #24048 from amcasey/GH23366
Ignore case when sorting imports
2018-05-10 19:11:44 -07:00
Andrew Casey
b7e5f0807b
Merge pull request #24047 from amcasey/GH23892
Stop deleting empty named import lists
2018-05-10 19:11:05 -07:00
Armando Aguirre
bb178d38bf Small test fixes 2018-05-10 18:18:43 -07:00
Andrew Casey
543c5daf9c Ignore case when sorting imports 2018-05-10 18:10:05 -07:00
Armando Aguirre
fdd078064d Added deferred to FileStats telemetry 2018-05-10 18:08:36 -07:00
Andrew Casey
7281bb7510 Stop deleting empty named import lists
Fixes #23892
2018-05-10 18:01:55 -07:00
Nathan Shively-Sanders
c49ef36964 First half of fix
Still doesn't work correctly for multiple merges
2018-05-10 16:51:46 -07:00
Andy
2be6aaf813
Support '/' as a trigger character in path completions (#24042) 2018-05-10 16:50:26 -07:00
Andy
6ae4d3a516
Add code fix to remove unreachable code (#24028)
* Add code fix to remove unreachable code

* Code review

* Preserve more kinds of statements
2018-05-10 16:44:48 -07:00
Andy
e33e229a52
Extract 'moduleSpecifiers' namespace out of importFixes (#24010) 2018-05-10 16:30:24 -07:00
Wesley Wigham
e296301c09
VSTS prefers to pass secrets as command line params (#24041) 2018-05-10 15:37:44 -07:00
Andy
fd17f77cc9
Improvements to find-all-references for import types (#23998)
* Improvements to find-all-references for import types

* Add JS test
2018-05-10 15:31:06 -07:00
csigs
3f39916a56
LEGO: Merge pull request 24039
LEGO: Merge pull request 24039
2018-05-10 15:11:05 -07:00
csigs
632fe1ccd1 LEGO: check in for master to temporary branch. 2018-05-10 22:10:45 +00:00
Wesley Wigham
2dd0ff3ea8
Add script for automatically creating PRs for user test updates (#24036)
* Draft of script to automatically create user baseline update PRs

* Some modifications to make testing easier
2018-05-10 15:02:35 -07:00
Wesley Wigham
7580903959
Dump XML test results (#24034) 2018-05-10 14:59:51 -07:00
Andy
61a2949051
Don't count '/' in division as a completions trigger (#24038) 2018-05-10 14:59:33 -07:00
Andy
5cf491715a
Fix comment (#24035) 2018-05-10 14:59:15 -07:00
Wesley Wigham
fb49fbbd30
Update user baselines (#24032)
* Strip absolute paths from import types in captured baseline

* Accept updated user baselines
2018-05-10 13:08:45 -07:00
Mohamed Hegazy
36ff507079 Add release-2.9 to covered branches 2018-05-10 13:06:17 -07:00
Ron Buckton
f7311ef84a
Merge pull request #23956 from Kingwl/emit-var-at-top
emit temporary vars at the top of the scope
2018-05-10 12:20:13 -07:00
Andy
7271ec1240
Add 'move to new file' refactor (#23726)
* Add 'move to new file' refactor

* Code review, and support commonjs

* Compute movedSymbols completely before using, and support `export import`

* Fix assertion error: sort empty change before non-empty change

* Remove extra newline

* Add allowTextChangesInNewFiles preference

* Add the new file to 'files' in tsconfig

* Avoid parameter initializer

* Update API baselines

* Use path relative to tsconfig.json

* Code review

* Fix error where node in tsconfig file was missing a source file
2018-05-10 11:17:04 -07:00
Wesley Wigham
6149b41469
Generate names for type parameter declarations in inferred types (#23902)
* Generate names for type parameter declarations in inferred types

* Fix lint

* Merge functions, make overload private

* Handle some edge cases better (nodes in differing files than current emit)

* Account for transformed nodes
2018-05-10 11:16:27 -07:00
Mohamed Hegazy
1b796ed04d
Merge pull request #23954 from Kingwl/readonly-getter-support
add support for readonly modifier
2018-05-10 11:10:03 -07:00
kingwl
44d10dcf59 fix incorrect find reference pos 2018-05-11 01:49:40 +08:00
Mohamed Hegazy
3e08c4174e
Merge pull request #24000 from ajafff/regex-factory
Add createRegularExpressionLiteral and expose createStringLiteral
2018-05-10 09:56:46 -07:00
csigs
ff177f0482
LEGO: Merge pull request 24027
LEGO: Merge pull request 24027
2018-05-10 09:10:55 -07:00
csigs
07be6cf327 LEGO: check in for master to temporary branch. 2018-05-10 16:10:32 +00:00
csigs
9459650a33
LEGO: Merge pull request 24020
LEGO: Merge pull request 24020
2018-05-10 03:10:57 -07:00
csigs
6fe71d4247 LEGO: check in for master to temporary branch. 2018-05-10 10:10:34 +00:00
王文璐
ad5a4c7097 add prependRange and move more variable declaration 2018-05-10 15:54:51 +08:00
王文璐
340e8cd56a find reference at begin of constructor 2018-05-10 11:20:07 +08:00
Ron Buckton
b5233d322d
Merge pull request #24003 from Microsoft/useEdgeForBrowserTests
Default to 'edge' instead of 'IE' for browser tests
2018-05-09 20:07:56 -07:00
Wesley Wigham
20f9493f04
Allow all private declarations to be emitted in declaration output (#23351)
* Mostly functional WIP

* Fix accessors, symbol stringification

* Accept/update changed baselines

* Move type definition so file build order doesnt matter

* Accept post-merge test update

* Rename function, add doc
2018-05-09 19:53:44 -07:00