Commit Graph
592 Commits
Author SHA1 Message Date
Sheetal Nandi db150517d7 Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
Fixes #31327
2019-05-21 09:32:17 -07:00
Andrew Branch 15daf42b2c Merge pull request #31028 from andrewbranch/feature/smart-select
Smart Select language service API
2019-05-16 09:45:05 -07:00
Klaus Meinhardt 0c9db717ad fix parsing of leading union/intersection operator (#31265)
* fix parsing of leading union/intersection operator

Fixes: #30995

* test declaration emit
2019-05-08 14:09:11 -07:00
Ron Buckton 0c1a283bf9 Add opt-in behavior for custom transforms to support bundles 2019-05-07 17:29:02 -07:00
Kagami Sascha Rosylight 49d6f61298 Add ES2019 Object.fromEntries function (#30934)
* add ES2019 Object.fromEntries function

* add some comments

* apply suggested changes

* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi fb21e70d71 Target affects emit hence mark the option so that all files are reemitted when target changes
Fixes #31118
2019-04-29 13:05:31 -07:00
Kagami Sascha Rosylight 1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Andy Hanson dc7c9bad3d Avoid eagerly computing test payload (#27851) 2019-04-25 13:26:19 -07:00
Sheetal Nandi f27cf9b34e Merge pull request #30971 from Microsoft/dtsSignatureChange
Handle when change in type of dts may result in only dts emit but not js emit
2019-04-24 11:16:22 -07:00
Andrew Branch 6608349ea2 Merge pull request #31008 from andrewbranch/bug/29358
Support binding patterns in Promise -> async/await refactor
2019-04-24 08:43:15 -07:00
Andrew Branch 3e30a7c2ad Remove all but one server unit test 2019-04-23 16:45:08 -07:00
Ryan Cavanaugh 885d4d63c8 Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Andrew Branch f0a3d2bf92 Filter out zero-width selections 2019-04-19 09:44:42 -07:00
Andrew Branch 95fb694eed Consistify tabs/spaces in test and baselines 2019-04-19 08:58:29 -07:00
Andrew Branch 12492a369e Rename test to match 2019-04-18 16:28:12 -07:00
Andrew Branch d8936fd290 Rename to be smarter 2019-04-18 16:23:06 -07:00
Andrew Branch 5479893f00 Skip lone variable declarations 2019-04-18 16:05:08 -07:00
Andrew Branch fed910fd0c Add stop for JSDoc comments 2019-04-18 16:05:08 -07:00
Andrew Branch d73eabd35a Special rules for binding elements, extend brace/whitespace logic to other kinds of bookended lists 2019-04-18 16:05:08 -07:00
Andrew Branch 74fc84ff84 Snap to nodes directly behind the cursor, create special rules for ParameterNodes 2019-04-18 16:05:07 -07:00
Andrew Branch 4ecdc82736 Solidify fake tree approach 2019-04-18 16:05:07 -07:00
Andrew Branch fcb7f0152f Rethink sibling expansion by creating fake subtrees 2019-04-18 16:05:07 -07:00
Andrew Branch 70e2672ab3 Add rules for expanding selection to sibling nodes 2019-04-18 16:05:07 -07:00
Andrew Branch 61425cb304 Move most logic to separate file 2019-04-18 16:05:06 -07:00
Andrew Branch 0a4ef0f630 Distinguish between same-line and different-line braces 2019-04-18 16:05:06 -07:00
Andrew Branch 039487c84e Also skip TemplateHeads 2019-04-18 16:05:06 -07:00
Andrew Branch fd88e52252 Start imports 2019-04-18 16:05:06 -07:00
Andrew Branch e62c2333eb Add support for string literals 2019-04-18 16:05:06 -07:00
Andrew Branch f98c00ab9d Add more tests, special handling for mapped types 2019-04-18 16:05:05 -07:00
Andrew Branch af3d0f0248 Start smart select API 2019-04-18 16:05:05 -07:00
Andrew Branch 680d18207c Add tests for destructuring from variable with inferrable type 2019-04-18 12:01:11 -07:00
Andrew Branch e7fb18e395 Handle case where you have to add a destructuring after a try/catch block 2019-04-18 11:36:47 -07:00
Andrew Branch ef18453166 Add tests for binding elements that need to be renamed 2019-04-17 18:43:01 -07:00
Andrew Branch 4c73b2e7bd Basic support for binding patterns in async/await code fix 2019-04-17 18:43:00 -07:00
Sheetal Nandi d5100bb95e Merge branch 'master' into dtsSignatureChange 2019-04-17 16:36:09 -07:00
Sheetal Nandi 4a55025f20 Code review feedback 2019-04-17 16:32:33 -07:00
Sheetal Nandi b337565747 Merge branch 'master' into tsbuildTestPerf 2019-04-17 16:05:00 -07:00
Sheetal Nandi 0c18d032e7 Merge branch 'master' into incrementalLateSymbol 2019-04-17 15:41:53 -07:00
Sheetal Nandi dc7d77f2c7 Make the tsbuild tests use simple libFile instead of bigger lib file set 2019-04-17 15:35:00 -07:00
Sheetal Nandi 15ae8a7273 Make sure to emit again if change in compiler option affects emit
Fixes #30736
2019-04-16 16:18:37 -07:00
Sheetal Nandi 707cb93891 Write test case that baselines the incremental build result
Testcase for #30780
2019-04-16 12:50:37 -07:00
Sheetal Nandi 9f5090cec7 Test case for #30891 2019-04-16 12:33:21 -07:00
Sheetal Nandi 8684c3bfb8 Merge pull request #30740 from Microsoft/moduleAndAmbientResolutionConflict
When old program resolved to module and that file is included, dont consider as ambient resolution.
2019-04-05 12:15:06 -07:00
Nathan Shively-Sanders 9e2446073d Merge pull request #30773 from Microsoft/update-user-tests
Update TypeScript-React-Native-Starter
2019-04-05 11:18:27 -07:00
Nathan Shively-Sanders 762a557fcc Update TypeScript-React-Native-Starter
Add a 'path' field to test.json.
2019-04-04 11:37:15 -07:00
Sheetal Nandi 7ccd86bf52 When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
2019-04-03 14:05:49 -07:00
Andrew Branch 9475bf7d9e Fall back from globalReadonlyArrayType to globalArrayType when transpiling 2019-04-03 11:27:53 -07:00
Sheetal Nandi 5869662c3f Merge pull request #30721 from Microsoft/amdOut
Do not create multiple sourceFile to single outputFile with project redirect as the output file is included by default
2019-04-03 10:39:28 -07:00
Benjamin Lichtman 78b0956474 VS IntelliCode-related changes (#30731)
* ensure configurePlugin gives a response

* Update tests

* Update baseline

* Enable global plugin loading for external projects

* Fix lint errors
2019-04-03 10:36:04 -07:00
Sheetal Nandi 602aec2f7d Never create redirect for sourceFiles that get emitted to single output file
Fixes #30591
2019-04-02 14:55:48 -07:00