Commit Graph

4575 Commits

Author SHA1 Message Date
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
navya9singh 13460aee86 Fix(52604): Provide Object member completions without comma; insert a comma (#52899)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-06-26 18:06:27 -07:00
Maria José Solano 38575dc015 Fix missing parentheses in inline variable (#54737) 2023-06-26 14:08:59 -07:00
Vitaly 38a4ced4e3 fix: no variable suggestions without semicolon (#54656) 2023-06-26 10:44:02 -07:00
Mateusz Burzyński 39da6b1c63 Display property types in optional chains without optional type marker (#53804) 2023-06-23 13:04:08 -04:00
Mateusz Burzyński abf0ef8eef Fixed an issue with errors not being correctly reported after completion requests in nested calls (#54658) 2023-06-20 12:04:08 -07:00
Mateusz Burzyński b1c2e8caad Add extra test cases for string literal completions (#54714) 2023-06-20 09:52:38 -07:00
Mateusz Burzyński c565827b4f Fixed some string literal argument completions depending on resolved signature (#53996) 2023-06-13 09:34:19 -07:00
Maria José Solano 31936ea36e Add inline variable refactor (#54281) 2023-06-12 20:03:43 -07:00
GuLewei 6a996ac995 Additional fix to issue #50509 (#54423) 2023-06-12 15:31:51 -07:00
Mateusz Burzyński d95caa51fc Fixed a regression with string completions not being available directly in arguments typed using rest parameter (#54588) 2023-06-12 15:16:08 -07:00
Oleksandr T af075841c5 fix(54580): Bad operation for find-all-references on import.meta when meta occurs in a comment (#54581) 2023-06-09 13:48:36 -07:00
Oleksandr T a6d9858383 fix(54068): Organize Imports removes first deprecated JSDoc comment (#54071) 2023-06-06 16:48:03 -07:00
Oleksandr T 67299ed267 fix(54458): The inlay hint does not handle TypeScript's spread operator well (#54503) 2023-06-05 11:13:14 -07:00
Emma Hamilton d49a28534a Use custom conditions in path completions (#54332) 2023-06-01 16:16:50 -07:00
Andrew Branch 1e0b2f4912 Code fix should prefer import type (#54255) 2023-06-01 09:57:08 -07:00
Oleksandr T d495200a4a fix(54366): bug: getCodeFixesAtPosition fails when TS2339 diagnostic paired with large pojo; Debug Failure. False expression: Token end is child end (#54432) 2023-05-30 13:47:31 -07:00
Isabel Duan 0b170d09fe delete extra comments in tests (#54452) 2023-05-30 12:08:23 -07:00
Isabel Duan ca0fafd694 add baseline for linked editing (#54315) 2023-05-26 16:01:29 -07:00
Oleksandr T d762534463 fix(54383): Declare method quick fix not returned for #private method (#54400) 2023-05-26 10:06:20 -07:00
Russell Davis da686774dc Formatter: fix indentation of comments at end of range (#54250) 2023-05-25 13:13:53 -07:00