6559 Commits

Author SHA1 Message Date
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
Iván
2b57a88b72
Use related spans for "implement abstract class" errors (#48030)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-03-28 07:54:36 -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
Jake Bailey
ac55b297b7
Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
Wesley Wigham
916f9b7344
Handle jsx runtime implicit synthetic import in find all references (#51319) 2023-03-23 12:08:52 -07:00
Lyu, Wei-Da
5712730c2d
fix: non-relative path completion without baseUrl (#52908) 2023-03-23 08:57:57 -07:00
Lyu, Wei-Da
9f18c3fd9c
fix: escape module specifier for snippet after quoted (#53407) 2023-03-22 10:19:16 -07:00
Jake Bailey
2c952fe850
Remove redundant throws of Debug.assertNever (#53405) 2023-03-21 16:04:06 -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
79a414bb5e
Consistently use '...args' for diagnostic args (#53193) 2023-03-20 12:53:09 -07:00
Jake Bailey
913f65c28d
Remove most "import * as ts" imports, except for const enum reverse mapping and plugins (#53329) 2023-03-20 10:50:40 -07:00
Kagami Sascha Rosylight
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