Commit Graph
6782 Commits
Author SHA1 Message Date
navya9singh 7bd7dfc007 Paste without imports (#59093) 2024-07-01 15:00:29 -07:00
Sheetal Nandi 6c68fdd4b5 Delay the calculation of common source root if it would be needed when calculation dts files (#59070) 2024-06-28 14:29:11 -07:00
Lars KappertandJake Bailey 752135eb40 Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -07:00
Jake Bailey ef079c9dd3 Update to TS 5.5.2 (#58947) 2024-06-20 12:34:07 -07:00
Jake BaileyandTitian Cernicova-Dragomir 47bb090ded Defer creation of barebonesLibSourceFile (#58931)
Co-authored-by: Titian Cernicova-Dragomir <tcernicovad1@bloomberg.net>
2024-06-19 11:34:52 -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
Daniel Rosenwasser 4935e14901 Use more explicit operations in core helpers (and other nits) (#58873) 2024-06-18 16:00:00 -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
Andrew Branch e6ae9866fd Fix declaration emit crash (#58872) 2024-06-17 12:01:40 -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
Jake Bailey 64fa3c7a6b Check cancellation token in isolatedDeclarations codefix (#58755) 2024-06-03 12:15:02 -07:00
Armando AguirreandArmando Aguirre Sepulveda ef514af267 Added NoTruncation flag to completions (#58719)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-05-31 16:26:19 -07:00
Ben Lickly fc42002a10 Improve the performance of isolatedDeclarations quickfix (#58722) 2024-05-31 09:04:07 -07:00
navya9singh 59e6620260 Fixing self import (#58718) 2024-05-30 15:02:43 -07:00
Wesley Wigham bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -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
Justin Chen abc37af88d move to code actions update and tests (#58548) 2024-05-23 12:34:42 -07:00
Titian Cernicova-Dragomir 2b4e7e34e7 Improve reuse of nodes in signatures with type mapping (#58546) 2024-05-23 12:11:29 -07:00
Kat Marchán ddf43cd0e0 CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
Titian Cernicova-Dragomir 8537bb72eb Error if type node uses inaccessible type in isolated declarations (#58620) 2024-05-22 15:51:11 -07:00
Wesley Wigham b682ed4504 Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) 2024-05-22 12:28:07 -07:00
navya9singh 11b73ecc4a Fixing a case when text is pasted into a blank file (#58595) 2024-05-21 11:54:35 -07:00
Andrew Branch 84ab39d7f0 Respect importModuleSpecifierPreference in sort order between fixes for the same symbol from different files (#58597) 2024-05-21 08:36:53 -07:00
Sheetal Nandi 524456ff5a Fix incorrect usage of getResolvedTypeReferenceDirectives and some refactoring (#58527) 2024-05-13 16:03:40 -07:00
Oleksandr T 017c1e0e64 fix(55765): Implement Interface Code Action is not available under certain circumstances (#55767) 2024-05-10 14:46:51 -07:00
Isabel Duan 0c1b36fb65 fix37816: goToDefinition skips call signatures for jsx components (#57969) 2024-05-10 13:45:45 -07:00
navya9singh be8fb98cf1 Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Oleksandr T dcec37e532 fix(58399): [isolatedDeclarations][5.5] Autofix does not work when JSX prop contains a dash (#58478) 2024-05-08 15:12:43 -07:00
Andrew Branch bc14459f3b Refactor default export info name gathering (#58460) 2024-05-08 09:33:17 -07:00
Jake Bailey 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Jake Bailey 2070713f4b Ensure jsDocParsingMode is passed to LanguageService document registry (#58404) 2024-05-06 16:08:54 -07:00
Hana JooandAndrew Branch 33b156147b Add a code fixer for --isolatedDeclarations errors (#58260)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-04-30 15:25:51 -07:00
Oleksandr T dc316afea4 fix(58360): Cheese being inserted on TypeScript Quick Fix (#58365) 2024-04-29 15:29:46 -07:00
Gabriela Araujo Britto ebcb09d71a Improve diagnostics deduplication (#58220) 2024-04-26 15:44:09 -07:00
Wesley Wigham f76727d17a Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00
navya9singh ce4862c267 Updating move to file (#58257) 2024-04-25 15:32:18 -07:00
Wesley Wigham 0b71b81d7d Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00
Mateusz Burzyński b1d821ae0c Fixed crash in go to definition related to expando classes in JS files (#57628) 2024-04-19 16:54:30 -07:00
42f238bfbb Provide Syntax Checking for Regular Expressions (#55600)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 16:51:08 -07:00
Daniel Rosenwasser e8f22253ba Don't cache child lists for tokens (#58233) 2024-04-19 14:49:31 -07:00
Oleksandr T 93451e8dd9 fix(57497): "Remove unused declaration" does not work on overloaded function declarations (#57517) 2024-04-19 11:28:00 -07:00
Jake Bailey 84265652d6 Rename isParameterDeclaration to isPartOfParameterDeclaration (#58251) 2024-04-19 09:34:28 -07:00
Sheetal NandiandAndrew Branch 5b3060d5c6 [Experiment] Some tweaking to handle project references for auto import (#55955)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-04-18 11:41:48 -07:00
Jake Bailey 17e420daf6 Use built-in no-restricted-syntax to ban null instead of plugin, ban null type too (#58095) 2024-04-18 09:06:32 -07:00