Commit Graph
6723 Commits
Author SHA1 Message Date
Mateusz BurzyńskiandJake Bailey 97dc5f0dd9 Fixed a regression related to determining argument index when spread elements are involved (#57637)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-03-28 16:18:28 -07:00
Lyu, Wei-Da b0d5ae6091 fix type import check for default-import/re-export in js files (#57778) 2024-03-27 15:08:18 -07:00
Oleksandr T 2de69b09c5 feat(41825): JSDoc equivalent of import * (#57207) 2024-03-26 13:52:43 -07:00
Jake Bailey e72605925d Update deps and fix new lints (#57870) 2024-03-21 09:24:23 -07:00
Eloy Robillard ede8ad84b1 fix(57451): Prevent self-imports when using the "Move to File" refactor (#57530) 2024-03-20 14:06:46 -07:00
Isabel DuanandDaniel Rosenwasser 4ecadc6c03 fix54092: return replacement ranges for completions on unclosed strings (#57839)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-03-20 13:41:48 -07:00
navya9singh c295531bfa Adopt code action ranges for refactorings (#57608) 2024-03-18 14:34:44 -07:00
Isabel Duan 0a671aa393 Change detection to detection by diff in organizeImports (#57267) 2024-03-15 16:07:39 -07:00
Ron Buckton 5e8f900afa Report grammar errors for invalid decorator grammar (#57749) 2024-03-13 14:50:04 -04:00
Oleksandr T c1f0f7cb58 feat(57240): Unimplemented abstract methods result in verbose, repetitive message (#57291) 2024-03-12 15:56:09 -07:00
Oleksandr TandNathan Shively-Sanders 884d649846 fix(57445): No inlay hints for property declaration types inferred from constructor (#57494)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-03-12 11:50:46 -07:00
Gabriela Araujo Britto 6357c89c52 Properly set hasAction for erasing modifiers in class member completions (#57643) 2024-03-07 11:34:47 -08:00
Sheetal Nandi 353ccb7688 Ensure correct script kind and text when using cached sourceFile from scriptInfo (#57641) 2024-03-04 15:56:35 -08:00
Andrew BranchandJake Bailey 6d458e81cd Deduplicate protocol.ts content (#57361)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-03-04 11:41:49 -08:00
idango10 64edd07330 fix(57590): [Formatting] Remove spaces between ... and type name in tuple spread (#57604) 2024-03-04 09:48:48 -08:00
Jake BaileyandAndrew Branch 26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Mateusz Burzyński df8d755c1d Prefer global over object members completions after ... (#57542) 2024-02-27 15:05:37 -08:00
Jake Bailey 4df884c773 Ensure harness doesn't force or eagerly computes target, stop using raw target elsewhere (#57526) 2024-02-26 11:32:18 -08:00
Oleksandr T 65812bf3ec fix(57348): Auto-complete on satisfies auto-imports satisfies (#57364) 2024-02-26 09:29:45 -08:00
Sheetal Nandi 2fc6e2e80c Test document position mapper (#57426) 2024-02-22 11:03:40 -08:00
Aiday Marlen Kyzy 60f93aa83a Making Move To File Action appear less often (#57080) 2024-02-20 00:06:10 -08:00
Oleksandr T 91e67ffbea fix(57392): using is not suggested as a keyword (#57394) 2024-02-16 14:12:17 -08:00
Oleksandr T c18c1c20dc fix(57302): Cannot move symbols from tsx to ts files (#57305) 2024-02-16 10:36:23 -08:00
hborchardt da5f0fe9d4 Add missing members to array of objects in quickfix (#57143) 2024-02-15 11:49:38 -08:00
PhoebeSzmucerandPhoebe Szmucer d65bdb8c34 Fix duplicated import suggestions (#57369)
Co-authored-by: Phoebe Szmucer <pszmucer@palantir.com>
2024-02-12 14:00:27 -08:00
Andrew Branch 76cf0928f2 Expand anti-parent-barrel auto-import heuristic to all moduleResolution modes (#57342) 2024-02-08 11:12:35 -08:00
Oleksandr T 10a3872de4 fix(57326): 'resolves to a type-only declaration and must be imported using a type-only import' doesn't have a quick fix (#57327) 2024-02-07 15:17:29 -08:00
Andrew Branch 31bf80ce6b Fix path completions missing extensions for exports wildcards (#57312) 2024-02-07 15:02:35 -08:00
Isabel Duan ee2090d7f2 fix 57215 -- add support for import attributes to OrganizeImports (#57250) 2024-02-01 10:32:58 -08:00
Isabel Duan e45183b82a fix57127: remove linkedediting from cases where JSX tags are not closed (#57132) 2024-01-30 11:25:32 -08:00
Abraham Guo 3c9aea3ed1 enable @typescript-eslint/no-unused-vars (#57123) 2024-01-29 11:31:51 -08:00
Jake BaileyandRyan Cavanaugh 1982349339 Update dependencies to latest compatible versions (#56561)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2024-01-19 12:44:01 -08:00
Andrew Branch 9ba8c7a51c Allow autoImportFileExcludePatterns to match anywhere in the file path (#57090) 2024-01-19 12:40:47 -08:00
Andrew Branch 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Oleksandr T 140fa7e5d1 feat(51870): Add a Quick Fix to add an additional parameter to a method or function (#56411) 2024-01-19 09:35:33 -08:00
Oleksandr T 55153b0274 feat(57028): Support inlining variables that are used in object literal shorthand (#57051) 2024-01-18 11:27:13 -08:00
Jake BaileyandSheetal Nandi 4f7da16103 Fix unnecessary non-null assertions caught by newer ts-eslint (#57070)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2024-01-16 11:21:45 -08:00
Andrew Branch a673958ccc Check autoImportExcludePatterns against symlink paths (#57033) 2024-01-16 09:35:26 -08:00
Jake Bailey 67b644e543 Export internal functions needed by dtsBundler.mjs (#52941) 2024-01-11 11:15:58 -08:00
Sviatoslav ZaytsevandNathan Shively-Sanders 1717826b6e fix(51225): Go-to-definition on case or default should jump to the containing switch statement if available. (#51236)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-01-11 11:14:03 -08:00
Oleksandr T 72d497352f fix(55994): Type-check Import Attributes in static imports (#56034) 2024-01-10 15:35:04 -08:00
Isabel Duan 780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Babak K. Shandiz b2c6a56e38 Fix "Extract to type alias" not available at end of span (#56467)
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-01-05 09:52:26 -08:00
Mateusz Burzyński 02f9ddf55d Fixed an issue with property type display when contextual type is a union (#56318) 2024-01-04 09:29:15 -08:00
Oleksandr T 9e0e9d35b9 fix(56475): Hyperlink in quick info generated by @link jumps to import statement for named or default imports, not symbol definition (#56802) 2024-01-02 14:44:09 -08:00
Oleksandr T 5d3bc98efb fix(56756): using quick fix to add missing enum member will add extra empty lines (#56788) 2024-01-02 14:08:23 -08:00
Oleksandr T a50f67d347 fix(56733): Auto fix "add missing properties" of enums does not correct namespace of enum (#56739) 2024-01-02 11:25:44 -08:00
Oleksandr T 4dbb267b2d fix(56706): "Show call hierarchy" does not work with arrow methods in a class (#56715) 2024-01-02 09:15:28 -08:00
fbcdb8cf4f Add auto-import for the package.json imports field (#55015)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2023-12-21 09:48:03 -08:00
Oleksandr T 2c134db31d fix(56699): [Formatting] Missing space after implements / extends generic (#56707) 2023-12-15 09:05:25 -08:00