Commit Graph
4521 Commits
Author SHA1 Message Date
TypeScript BotandMateusz Burzyński db3575ab8a 🤖 Pick PR #54588 (Fixed a regression with string comp...) into release-5.1 (#54635)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-06-26 16:24:54 -07:00
TypeScript BotandVitaly Turovsky 2d031ce160 🤖 Pick PR #54656 (fix: no variable suggestions withou...) into release-5.1 (#54782)
Co-authored-by: Vitaly Turovsky <vital2580@icloud.com>
2023-06-26 12:02:47 -07:00
a360d9fb3a 🤖 Pick PR #54315 (add baseline for linked editing) into release-5.1 (#54419)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-05-29 20:58:40 -07:00
TypeScript BotandGabriela Araujo Britto c8da9d59fe 🤖 Pick PR #54358 (Don't use text change's `createNewF...) into release-5.1 (#54444)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
2023-05-29 20:54:38 -07:00
navya9singh d7b8662f4d Fix for formatter crash for Move to file (#54199) 2023-05-09 14:01:59 -07:00
Jm 362703a213 Cover more cases for node module auto-import (#54024) 2023-05-09 09:46:55 -07:00
Oleksandr T 320e628a6d fix(53424): in code documentation is not working upon import if function expression reuse function type (#53964) 2023-05-08 16:55:04 -07:00
Maria José Solano 42d69cfa77 Handle undefined location.parent when getting completionEntryDetails (#54138) 2023-05-05 13:41:50 -07:00
Jake Bailey c333e14578 Ensure that JSDoc parsing happens within a ParsingContext (#52710) 2023-05-04 09:55:34 -07:00
Oleksandr T 3c43b6b1be fix(53754): Re-exported symbol marked with deprecated doesn't get correct deprecation highlighting (#53808) 2023-04-27 09:45:10 -07:00
Andrew Branch 818c9806d4 Ensure paths-based resolution does not generate module specifiers with .. in the middle (#53957) 2023-04-21 15:04:16 -07:00
navya9singh d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Maria José Solano e02ef9fddb Add quotes when renaming numerical indices (#53596) 2023-04-20 16:58:29 -07:00
Isabel Duan c1693054fe added wordPattern Regex to include more characters (#53934) 2023-04-20 15:38:55 -07:00
Mateusz Burzyński 40787a7076 Improve contextual completions (#53554) 2023-04-20 09:22:14 -07:00
Oleksandr T c58231ea3b fix(53467): extends keyword not suggested inside of generic (#53646) 2023-04-19 10:59:07 -07:00
NicoleandAndrew Branch 178198be04 Fix 53482 : Preserve newline/space behavior (#53732)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-04-18 09:57:52 -07:00
Oleksandr T 378ffa4bc9 feat(7411): Resolve intrinsics elements by JSX namespaced tag names (#53799) 2023-04-16 17:20:10 -07:00
Vitaly c70fa514b0 Don't include completions for current and later parameters (#52690) 2023-04-14 17:05:55 -07:00
ZzzenandNathan Shively-Sanders 458c5e6c64 fix(53138): go-to-definition not working on expression of SatisfiesExpression (#53164)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-13 15:29:18 -07:00
Donald33 Wang adcc39d2c7 Allow custom switch-case indentation in formatting (#53733) 2023-04-13 08:35:05 -07:00
Anders HejlsbergandMaria Solano bec204c844 Revise discriminateTypeByDiscriminableItems function (#53709)
Co-authored-by: Maria Solano <mariasolano@microsoft.com>
2023-04-12 07:25:58 -07:00
Vitaly a97ba985b2 infer from usages: support short-circuiting assignment operators (#52860) 2023-04-10 13:13:46 -07:00
Tobias S 8369d41efe fix ordering of code fix import with triple-slash directives (#52484) 2023-04-10 10:45:57 -07:00
Isabel Duan d4c48e1495 Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Andrew Branch 287ee41cf2 Fix two module specifier ending preference detection issues (#53691) 2023-04-06 13:06:58 -07:00
Gabriela Araujo Britto e83d61398e Provide snippet completions for @param in JSDoc (#53260) 2023-04-04 11:35:09 -07:00
Oleksandr T 3f7a8d5604 fix(52828): No signature help in parameter declaration before , and ) (#52840) 2023-04-03 13:43:20 -07:00
Andrew Branch 9052ef895a Fix Go To Source Definition in --moduleResolution bundler (#53613) 2023-03-31 15:50:11 -07:00
Andrew Branch 52a8061e11 Type-only auto-import improvements (#53590) 2023-03-30 12:01:40 -07:00
Andrew Branch 5586727193 Allow getter and setter types to be unrelated (#53417) 2023-03-30 08:51:01 -07:00
Mateusz Burzyński ae2b4afdcb Provide string completions within unions in indexed access types (#53225) 2023-03-29 10:07:34 -07:00
Mateusz Burzyński 089876a5c5 Retry string completions from the inferred type by default (#53481) 2023-03-27 18:21:03 -07:00
Maria José Solano 6e44db7d1d Don't capture type parameters defined inside the extraction range with "Extract to function" (#53543) 2023-03-27 18:12:41 -07:00
Andrew Branch 3a3146e25f Add tests for completions crash (#53472) 2023-03-23 15:59:43 -07:00
Mateusz Burzyński 218180ded2 Fixed an issue with an incorrect resolved signature being cached/returned sometimes for signatures depending on the contextual type/outer inference (#52146) 2023-03-23 12:15:33 -07:00
Wesley Wigham 916f9b7344 Handle jsx runtime implicit synthetic import in find all references (#51319) 2023-03-23 12:08:52 -07:00
Gabriela Araujo Britto d5fd34b037 Don't error when calling resolveEntityName (#53441) 2023-03-23 10:49:53 -07:00
Lyu, Wei-Da 5712730c2d fix: non-relative path completion without baseUrl (#52908) 2023-03-23 08:57:57 -07:00
Sheetal Nandi 1b745df857 Adding baseline methods for verification of findAllRefs, GoTo*, Occurrences, highlights and rename deprecating the corresponding verification methods from fourslash tests (#52576) 2023-03-22 14:02:18 -07:00
Oleksandr T 01a7a3e146 fix(53289): TypeScript cannot auto-complete keyword typeof (#53325) 2023-03-21 13:51:08 -07:00
Oleksandr T c5b539dcd5 fix(53372): TypeScript cannot auto-complete keyword extends (#53418) 2023-03-21 13:12:38 -07:00
Jake Bailey 27aca613ff Remove random code from fourslash test (#53335) 2023-03-20 11:13:06 -07:00
gu bf369f1b95 Fix missing reference in js (#50509) (#53000) 2023-03-17 15:51:11 -07:00
Kagami Sascha RosylightandDaniel Rosenwasser f473058361 Allow implicit return with explicit undefined return type (#53092)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-03-17 12:08:01 -07:00
Mateusz Burzyński eb6aaea86e Fixed symbol declarations for generic filtering mapped types (#53207) 2023-03-15 10:43:45 -07:00
Oleksandr T 0e3e14d39e fix(52992): no add missing properties quick for nested object literal (#53004) 2023-03-09 10:00:55 -08:00
Mateusz Burzyński 6e4f0a430e Fix string completions depending on contextual signatures (#52717) 2023-03-07 16:42:16 -08:00
Mateusz Burzyński f555ad73db Fix property completion in unions of object types and string mappings (#52767) 2023-03-07 16:36:37 -08:00
jihndai 4af97b0572 Fix compound assignments for properties with different getter & setter types (#50431) 2023-03-07 16:02:16 -08:00