Commit Graph

6643 Commits

Author SHA1 Message Date
Oleksandr T
bf78d175d0 fix(55237): TypeScript 5.2 "move to file" results in duplicate imports (#56187) 2023-10-30 10:50:05 -07:00
Isabel Duan
6061069d96 fix54035, extractType now allows parts of union and intersection types to be extracted (#56131) 2023-10-27 17:59:16 -07:00
Oleksandr T
f25f2bb75d fix(55939): JS Doc comment not shown in signature help when overload tag exists (#56139) 2023-10-27 15:24:07 -07:00
Ron Buckton
79da510066 Fix incorrect flags in modifierFlagsCache (#56198) 2023-10-25 18:24:53 -04:00
Ron Buckton
e5e7cbba79 Expose 'updateModifiers' in public NodeFactory API (#56194) 2023-10-23 20:37:57 -04:00
Andrew Branch
aef4e468d9 Add user preference for preferring type-only auto imports (#56090) 2023-10-20 14:52:18 -07:00
Jake Bailey
d3c7d96d2c Remove old references to deprecated assertion node types (#56073) 2023-10-11 12:54:27 -07:00
Andrew Branch
5001433b10 Allow valid contextual keyword completions even when an auto-import by the same name exists (#56001) 2023-10-05 16:01:59 -07:00
Oleksandr T
6ec5547823 fix(55945): Inlay hints don't work for bigint literals (#55947) 2023-10-04 10:52:01 -07:00
Andrew Branch
248488aa06 Prefer local module specifier over relative node_modules ones in auto-import, even when it reaches into a monorepo package (#55969) 2023-10-03 14:10:06 -07:00
Oleksandr T
f2805dc88b fix(55946): Errant case causes crash in switch/case snippet completions (#55949)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-10-02 21:46:48 -07:00
Oleksandr T
c640c5de0a fix(55937): 'Infer function return type' offered in preceding trivia (#55938) 2023-10-02 16:34:46 -07:00
Maria José Solano
952526c5c9 Show interactive inlay hints in parameter types (#55918) 2023-09-29 13:45:57 -07:00
Jake Bailey
9208239759 Remove shims.ts and related infra (#55868) 2023-09-28 13:54:47 -07:00
Oleksandr T
2e9e9a292c feat(53656): Add support for the updated import attributes proposal (#54242) 2023-09-26 13:20:15 -07:00
Ron Buckton
d7b4cee7df Include source node inferences in string literal completions (#54121)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-09-25 18:29:29 -04:00
Oleksandr T
e743d070ea fix(55404): Remove braces from arrow function" generates invalid code in JavaScript (#55429)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-09-22 16:14:06 -07:00
Oleksandr T
ec2acc9f8a fix(55823) - Remove Braces From Arrow function fails when using satisfies (#55831) 2023-09-22 11:32:56 -07:00
Sheetal Nandi
83f02a4b7e Picking resolutions of module for sourceFile as method (#55818) 2023-09-22 10:24:37 -07:00
Jake Bailey
a3c5d5d37e Make JSDoc skipping public, plus more configurable (#55739) 2023-09-21 15:31:09 -07:00
Mateusz Burzyński
56accb08a1 Fixed string completions that require escaping (#55118) 2023-09-21 15:05:34 -07:00
Jake Bailey
45a05f3475 Support converting string literals to templates outside of concatenation (#54647) 2023-09-21 11:16:26 -07:00
Sheetal Nandi
ec1414f627 Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Maria José Solano
0b82e1a03f Interactive type inlay hints (#55141) 2023-09-19 22:50:11 -07:00
Oleksandr T
79736eff89 fix(55258): JSDoc render with @param Object properties (#55264) 2023-09-19 14:00:32 -07:00
Mateusz Burzyński
0464e91c8b Fixed an issue with type-only import promoting (#55365) 2023-09-18 12:38:00 -07:00
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
Oleksandr T
05fdb5f671 fix(54266): Navtree doesn't return computed class members (#54271) 2023-09-13 14:50:48 -07:00
Jack Works
e7bb0ebfac refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -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
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
Jake Bailey
b5b6048bb3 Clean up helpers which are always present in ES2020 (#55515) 2023-08-28 12:26:22 -07:00
Sampo Kivistö
ec2bd4e252 perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -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
Jake Bailey
5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Oleksandr T
0099e42451 fix(55374): Invalid Parameter Inlay Hint (#55384) 2023-08-15 11:41:00 -07:00
Jake Bailey
3b43d841d1 Enable eslint rules prefer-rest-params and prefer-spread (#55181) 2023-08-11 15:07:06 -07:00
lyonbot
b35fa04346 Fix broken formatting rules around namespaced JSX attributes (#55294) 2023-08-11 09:51:05 -07:00
Ryan Cavanaugh
f4517ce680 Use correct Node.flags instead of Node.kind in isInsideAwaitableBody (#55320) 2023-08-09 09:43:43 -07:00
Maria José Solano
e50b075b05 Don't mix NodeBuilder and TypeFormat flags (#55310) 2023-08-08 13:33:29 -07:00
Jake Bailey
87c986cae8 Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -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
Jake Bailey
6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -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