6594 Commits

Author SHA1 Message Date
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
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
Josh Goldberg ✨
0ae8ca11d2
Updated typescript-eslint to v6 (#54693)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-14 15:36:10 -07:00
navya9singh
a602c668fb
Fix(54376) (#54975) 2023-07-12 10:00:32 -07:00
Sheetal Nandi
5464403848
ParseConfigHost needs to extend ModuleResolutionHost (#54922) 2023-07-10 11:40:40 -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
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
Ron Buckton
f9cf8216c6
Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04: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
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
Sheetal Nandi
3c4c060dff
Adds tests and fixes issues by verifying incremental project updates are handling language service ref counting correctly (#54504) 2023-06-06 11:11:14 -07:00
Oleksandr T
93ac5c6529
fix(54463): Move to existing file — Error: Debug Failure. at doChange4 (#54482) 2023-06-06 09:56: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
Oleksandr T
d762534463
fix(54383): Declare method quick fix not returned for #private method (#54400) 2023-05-26 10:06:20 -07:00
Maria José Solano
98ed0eb94c
Localize refactor descriptions (#54379) 2023-05-26 10:06:12 -07:00
Sheetal Nandi
c64a378ef9
Handle already released source files that dont match scriptKind (#54401) 2023-05-25 15:58:22 -07:00
Russell Davis
da686774dc
Formatter: fix indentation of comments at end of range (#54250) 2023-05-25 13:13:53 -07:00
Oleksandr T
8db251fb47
fix(52517): JSDoc Comment Template not provided when unrelated JSDoc with tag exists (#54132) 2023-05-24 16:19:49 -07:00
Oleksandr T
8ea3887f70
fix(54155): "Move to file" does not carry all function overload and implementation signatures (#54164) 2023-05-24 16:17:43 -07:00
Oleksandr T
bb74c60723
feat(54190): Convert to template string quick fix not available in assignment expressions (#54210) 2023-05-24 15:42:07 -07:00
Oleksandr T
6cbe2e02a4
fix(54085): Cannot navigate down object hierarchy if an interface is not directly implemented (#54108) 2023-05-24 14:06:25 -07:00
Gabriela Araujo Britto
e7d62e57aa
Don't use text change's createNewFile for existing empty file (#54358) 2023-05-24 12:26:11 -07:00
Oleksandr T
ce1c97f4f0
fix(54283): Provide better UX when an invalid file is selected for 'move to file' refactoring (#54300) 2023-05-18 10:36:34 -07:00
Gabriela Araujo Britto
24ac9e75c2
Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
Mateusz Burzyński
d3513ee5c4
Improved go to type definition on type references of global container-like types using allowlist (#53729) 2023-05-15 13:40:18 -07:00
navya9singh
d7b8662f4d
Fix for formatter crash for Move to file (#54199) 2023-05-09 14:01:59 -07:00
Wesley Wigham
02bb3108ad
JSX namespace names should not be considered expressions (#54104) 2023-05-09 10:45:58 -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