Commit Graph

4595 Commits

Author SHA1 Message Date
Jake Bailey 9cbcf010ce Ensure generated property names for methods named "new" are quoted (#55750)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-09-15 10:25:10 -07:00
Mateusz Burzyński e6321d77c7 Fixed element access expression writes for divergent write types (#55585) 2023-09-13 16:14:07 -07:00
Mateusz Burzyński 21b8892d21 Fixed an issue with errors not being correctly reported after completion requests in functions within nested calls (#54944) 2023-09-13 15:48:40 -07:00
Oleksandr T 05fdb5f671 fix(54266): Navtree doesn't return computed class members (#54271) 2023-09-13 14:50:48 -07:00
Mateusz Burzyński 543d7ed00c Fixed display of optional and rest parameters created as result of combining union parameters (#55625) 2023-09-13 11:25:19 -07:00
Oleksandr T a0c51b5336 fix(55694): format issues (#55721) 2023-09-12 11:36:03 -07:00
PhoebeSzmucer eb2d1f93f2 Fix an off-by-one error in getBaseDirectoriesFromRootDirs (#55233)
Co-authored-by: Phoebe Szmucer <pszmucer@palantir.com>
2023-09-11 07:57:50 -07:00
Gabriela Araujo Britto b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Hardik Koul dce7b6d2e7 Prevents auto import in module: "none" (#55556)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-08-31 09:18:26 -07:00
Gabriela Araujo Britto cbadc78f96 Return all symbols in navto for empty string pattern (#55550) 2023-08-30 15:30:38 -07:00
Oleksandr T fe82a610cd fix(55014): Quick fix for ts7051 introduces incorrect type (#55020) 2023-08-30 15:17:43 -07:00
Mateusz Burzyński 32ebbe05dc Transfer all declared symbols onto the type from the interface that extends another (#55252) 2023-08-28 15:17:44 -07:00
Mateusz Burzyński 9a6a4ab1d5 Fixed a string completions regression when requested directly in argument position (#55552) 2023-08-28 15:04:06 -07:00
Mateusz Burzyński 27a5bdd446 Add a test for finding all references of same-named imports from two missing modules (#55519) 2023-08-26 08:58:48 -07:00
Mateusz Burzyński 5b9547b1ba Add a fourslash completions test related to JSDoc @template on prototype method (#55513) 2023-08-26 08:57:45 -07:00
Oleksandr T daa7e985f5 fix(55434): Renamed field takes on documentation from other field with the same name (#55469) 2023-08-23 17:02:40 -07:00
Maria José Solano 5fe88ea044 [Interactive inlay hints] Get source file from parameter node (#55476) 2023-08-23 16:40:49 -07:00
Mateusz Burzyński b8b0d26cb9 Display write type for property accesses in write locations (#54777) 2023-08-15 12:01:21 -07:00
Oleksandr T 0099e42451 fix(55374): Invalid Parameter Inlay Hint (#55384) 2023-08-15 11:41:00 -07:00
Maria José Solano 05cb53ec0b Organize/consolidate inlay hint tests (#55332) 2023-08-14 14:21:00 -07:00
lyonbot b35fa04346 Fix broken formatting rules around namespaced JSX attributes (#55294) 2023-08-11 09:51:05 -07:00
Mateusz Burzyński 28cd1fbd13 Allow intersections to be used as valid types for template literal placeholders (#54188) 2023-08-10 12:50:21 -07:00
Mateusz Burzyński 5ea2952ae5 Resolve JSX intrinsic elements to index signature symbols (#55245) 2023-08-07 11:02:23 -07:00
navya9singh ad0127036e Fix(54284) (#54973) 2023-08-04 10:00:33 -07:00
Oleksandr T d045f18928 fix(54954): Javascript Intellisense adding "this." to function declaration (#55119) 2023-08-03 15:57:51 -07:00
Mateusz Burzyński defe33afa1 Do not offer completions for default module member symbol (#55231) 2023-08-01 14:52:40 -07:00
Mateusz Burzyński 6037cf5db8 Provide member completions after dot in type locations using typeof (#54486) 2023-07-28 15:59:52 -07:00
Andrew Branch 2170e6c6cc Proposal: Always allow type-only imports to reference .ts extensions (#54746) 2023-07-24 16:12:38 -07:00
Egor Verbitskiy 7194be067c fix(53919): Cannot read properties of undefined (reading 'flags') in returnValueCorrect (#53921)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 16:47:25 -07:00
Egor Verbitskiy 7a1f97a61b fix(54666): Codefix `convertTypedefToType to work for multiple typedefs in a row (#54667)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 09:56:39 -07:00
Maria José Solano 97310107d0 Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Mateusz Burzyński b211fe9792 Fixed quick info display for aliased symbols in type-narrowed locations (#54763) 2023-07-20 13:55:23 -07:00
Oleksandr T 2136bef652 fix(54694): Class incorrectly implements interface generated with template string literal mapped type (#54715) 2023-07-20 13:51:32 -07:00
Oleksandr T ef0422b40f fix(54872): Have createUnionOfSignaturesForOverloadFailure() combine @deprecated tags properly (#54945) 2023-07-18 16:42:04 -07:00
Oleksandr T 405251ebd2 fix(54013): bug: Incorrect Typescript completion with computed property name (#54067) 2023-07-18 13:34:01 -07:00
Oleksandr T f7a93c83ca fix(54982): "Inline variable" causes failure when variable is used as the initializer of a destructured variable declaration (#54988) 2023-07-17 16:13:00 -07:00
Jake Bailey c468960578 Add test for old completion bug from prop of constraint (#54959) 2023-07-13 14:38:50 -07:00
Gabriela Araujo Britto 3b6e35c536 Consider import.meta a qualified name/property access (#54997) 2023-07-13 13:12:20 -07:00
navya9singh a602c668fb Fix(54376) (#54975) 2023-07-12 10:00:32 -07:00
최지원 328d130e82 Fix export as default not auto importing (#54871) 2023-07-10 09:06:32 -05:00
Oleksandr T f38e0fe6f0 fix(54902): Incorrect quick info on using declarations (#54912) 2023-07-07 15:07:42 -07:00
Oleksandr T b1da6eead3 fix(54310): "Move to file" does not eliminate re-export (#54329) 2023-07-07 12:51:07 -05:00
Andrew Branch 22a9ae9eed Offer auto-imports from wildcard exports with AutoImportProvider (#54831) 2023-07-07 12:50:38 -05:00
Maria José Solano 89f6ef9d78 Use baselines for inlay hints testing (#54844) 2023-07-05 12:08:56 -07:00
Andrew Branch f4d372aef4 Fix auto import path mapping when first pattern fails (#54868) 2023-07-03 15:02:13 -07:00
Andrew Branch 88d59e40e4 Fix path completions with sibling dts lookup in exports (#54869) 2023-07-03 14:16:16 -07:00
Oleksandr T a437de66b6 fix(54818): "from" keyword displaying incorrect completions (#54843) 2023-06-30 12:06:11 -07:00
Jack Works bd1e9752d2 fix: import keyword name (#54675)
Co-authored-by: Isabel Duan <iduan@hmc.edu>
2023-06-30 10:14:43 -07:00
Andrew Branch 76869eeda1 Fix relative path completions when self package.json has typesVersions (#54842) 2023-06-30 10:13:22 -07:00
Andrew Branch c97e4b64a0 Fix auto imports in JS files in nodenext (#54817) 2023-06-28 15:03:14 -07:00