6572 Commits

Author SHA1 Message Date
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
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
Sheetal Nandi
ddd5084659
Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Mateusz Burzyński
40787a7076
Improve contextual completions (#53554) 2023-04-20 09:22:14 -07:00
Andrew Branch
7bf0337428
Interactive refactor actions (#53915) 2023-04-19 13:01:28 -07:00
Oleksandr T
c58231ea3b
fix(53467): extends keyword not suggested inside of generic (#53646) 2023-04-19 10:59:07 -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
Oleksandr T
0c5be02dcc
feat(7411): JSX namespaced attribute syntax not supported (#47356) 2023-04-14 16:58:49 -07:00
Zzzen
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
Sheetal Nandi
df3bec6674
Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00
Donald33 Wang
adcc39d2c7
Allow custom switch-case indentation in formatting (#53733) 2023-04-13 08:35:05 -07:00
Jake Bailey
a26175bffb
Ensure findPrecedingToken recurses into JSDoc children when needed (#53487) 2023-04-12 12:00:47 -07:00
Vitaly
a97ba985b2
infer from usages: support short-circuiting assignment operators (#52860) 2023-04-10 13:13:46 -07:00
Isabel Duan
d4c48e1495
Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -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
Anders Hejlsberg
b40385b595
Explicit undefined return type checked similar to explicit void return type (#53607) 2023-04-01 14:44:52 -07:00
David Sherret
710e7d914d
Remove non-ascii characters from internal code comments (#53608) 2023-03-31 10:57:57 -07:00
Andrew Branch
52a8061e11
Type-only auto-import improvements (#53590) 2023-03-30 12:01:40 -07:00
Mateusz Burzyński
ae2b4afdcb
Provide string completions within unions in indexed access types (#53225) 2023-03-29 10:07:34 -07:00