Commit Graph
4773 Commits
Author SHA1 Message Date
TypeScript BotandOleksandr T. 4fe7e41ea1 🤖 Pick PR #59670 (fix(59649): ts Move to a new file d...) into release-5.6 (#59725)
Co-authored-by: Oleksandr T. <oleksandr.tarasiuk@outlook.com>
2024-08-27 10:42:46 -07:00
TypeScript Botandnavya9singh bbb5faf7e7 🤖 Pick PR #59542 (Fixing delay caused in vscode due t...) into release-5.6 (#59695)
Co-authored-by: navya9singh <108360753+navya9singh@users.noreply.github.com>
2024-08-19 22:19:09 -07:00
Oleksandr T. f850298f70 fix(59558): Implement Interface Quick Fix generates duplicate declarations (#59563) 2024-08-16 15:17:58 -07:00
Isabel Duan 8ec3804611 fix test/basellines (#59663) 2024-08-16 15:17:45 -07:00
Isabel Duan 26c4320757 also return classes when caling goToDef on a constructor call (#59421) 2024-08-16 13:58:29 -07:00
Andrew BranchandIsabel Duan ca64946dff Set parents of augmented module exports (#59609)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
2024-08-15 16:18:57 -07:00
Andrew Branch bcb1545aa3 Allow existing imports in file to supersede package.json filter (#59604) 2024-08-15 15:00:31 -07:00
Zzzen a0530722fc Improve inlining of string variables in template literals (#54849) 2024-08-15 10:46:22 -07:00
Jake BaileyandDaniel Rosenwasser 3ed2e8ed34 Report unreachable on enums (#58380)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-08-14 22:34:03 -07:00
Mateusz Burzyński f04672842b Fixed completion crashes related to JSDocImportTag (#59527) 2024-08-12 14:36:03 -07:00
Andrew Branch 4b12d82b6b Fix auto import file extensions with package.json imports wildcards (#59564) 2024-08-09 13:48:13 -07:00
Sung Ye In f3b118ed21 fix: filtering promise properties in object literal completion (#59316) 2024-08-09 13:14:30 -07:00
Andrew Branch 09caaf60aa Add autoImportSpecifierExcludeRegexes preference (#59543) 2024-08-09 11:12:18 -07:00
Mateusz Burzyński d7ff565b6c Fixed inlay hints for inferred type predicates (#59441) 2024-07-29 16:25:36 -07:00
Mateusz Burzyński 451388cfd5 Fixed quick fixes for inferred type predicates (#58958) 2024-07-26 10:21:18 -07:00
Isabel Duan 107a007a9a organizeImports makes no changes if there are parse errors in the sourceFile (#58903) 2024-07-25 16:28:19 -07:00
Oleksandr T. 7319968e90 fix(59116): Codefix add missing function declaration inserts function in wrong file (#59213) 2024-07-24 19:45:52 -07:00
Gabriela Araujo Britto 0c33c13b83 Fix completion entry conversion to protocol format (#59410) 2024-07-24 12:59:15 -07:00
ZzzenandDaniel Rosenwasser ab7b624558 Deprecate module keyword for namespace declarations (#58007)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-07-23 17:22:38 -07:00
Gabriela Araujo Britto 8a36e26ac6 Add commit characters to protocol (#59339) 2024-07-23 12:32:38 -07:00
navya9singh b04c8a0edd Fixing range for primary edit (#59369) 2024-07-22 17:14:35 -07:00
Mateusz Burzyński a4ae3c46b6 Don't crash when observing invalid exports in any kind of container (#59376) 2024-07-22 15:58:39 -07:00
Jake Bailey 85d6bb6fe6 Add new option "noUncheckedSideEffectImports" (#58941) 2024-07-19 17:35:02 -07:00
Ron Buckton 7f978c7ffe Use tuple name inference for Iterator.next et al (#59360) 2024-07-19 14:53:18 -04:00
Ron Buckton 6f530cc4ce Add TReturn/TNext to Iterable et al (#58243) 2024-07-19 13:14:00 -04:00
Mateusz Burzyński 45062406e4 Fixed crash on authored import type nodes when serializing for declarations (#59160) 2024-07-18 08:41:47 +09:00
Ron Buckton 369f2b0fb8 Derive tuple labels for rest elements from array binding patterns (#59045) 2024-07-17 15:13:36 -04:00
Andrew BranchandJake Bailey a9139bfdfe Only look up package.json type if module is node16/nodenext or file is in node_modules (#58825)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-07-17 09:23:51 -07:00
Oleksandr T. bf39eccee6 fix(59304): Convert to ESM uses template strings instead of string literals (#59306) 2024-07-16 14:02:39 -07:00
Isabel Duan 66a762f59d visitNodesWithoutCopyingPositions always makes a new NodeArray (#59137) 2024-07-17 05:50:17 +09:00
Oleksandr T e450c463c6 fix(59011): TypeScript generates invalid types if @import tags are spread over multiple lines (#59026) 2024-07-10 15:37:49 -07:00
Andrew Branch 64f89e7961 Fix codefix crash on circular aliases (#59215) 2024-07-10 15:37:12 -07:00
Jake Bailey 533acb5ad9 Consider enclosing declaration when serializing inferred return types (#59170) 2024-07-09 14:35:27 -07:00
Mateusz Burzyński 8d84a68776 Fixed crash when finding all references when JSDocImportTags are involved (#59207) 2024-07-09 13:59:54 -07:00
navya9singh ded36b21ac pasteEdits returns no edit when there are no imports needed (#59189) 2024-07-09 10:27:41 -07:00
Mateusz Burzyński 3163fe7e38 Fixed crash when cross-file reusing nodes for class member snippet completions (#58216) 2024-07-04 10:38:25 -07:00
navya9singh 7bd7dfc007 Paste without imports (#59093) 2024-07-01 15:00:29 -07:00
Oleksandr T e8fca15b14 fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid code (#58811) 2024-06-18 17:24:22 -07:00
Isabel DuanandAndrew Branch f999951015 fix55816: exclude files with re-exports if excluded by preferences.autoImportFileExcludePatterns (#58537)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-06-18 14:03:18 -07:00
Mateusz Burzyński 25d34138e3 Allow signature help argument count to be equal to argument index (#58203) 2024-06-14 14:50:36 -07:00
Andrew Branch 56289733a4 Revert #57896 (#58857) 2024-06-13 16:40:23 -07:00
Gabriela Araujo Britto 4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Andrew Branch 1948e92e3a [DO NOT MERGE UNTIL 5.6] Fix re-exported defaults in ExportInfoMap (#58837) 2024-06-12 15:43:20 -07:00
Evan WallaceandRon Buckton 8d62e2f175 Implement "Arbitrary Module Namespace Identifiers" (#58640)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-06-04 13:40:50 -07:00
Isabel DuanandDaniel Rosenwasser 506f3e26c3 fix58438: do not delete comments/code following unterminated string completion (#58742)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-06-03 21:10:32 -07:00
Wesley Wigham d4976c08b1 Clone node to remove location even when it has been modified if needed (#58706) 2024-05-31 15:16:16 -07:00
Titian Cernicova-Dragomir 389b579a83 Do not expand type references in keyof and index access (#58715) 2024-05-31 10:55:06 -07:00
navya9singh 59e6620260 Fixing self import (#58718) 2024-05-30 15:02:43 -07:00
navya9singh 1659a9d615 Handling statements from a known source file (#58679) 2024-05-29 13:46:37 -07:00
Zzzen af3a61fe44 fix(57022): Rename of string literal property name doesn't rename all occurences (#57201) 2024-05-24 16:04:02 -07:00