Commit Graph

2074 Commits

Author SHA1 Message Date
Sheetal Nandi 2f8b822c1f Some of the fixes picked out from my work for file updates (#57401) 2024-02-13 13:18:34 -08:00
Sheetal Nandi ee46953bc9 Baseline Project Service State for easy diffing in changes (#57255)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-02-01 14:01:43 -08:00
Abraham Guo 3c9aea3ed1 enable @typescript-eslint/no-unused-vars (#57123) 2024-01-29 11:31:51 -08:00
Sheetal Nandi 113537713d Fix ReloadRequest in protocol found while updating to use session in tests (#57158) 2024-01-25 08:59:56 -08:00
Jake Bailey 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 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Isabel Duan 780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Isabel Duan 8dfbfcb058 fix54492: allow editor to check for original file extension for rename (#56680) 2023-12-08 09:32:52 -08:00
Sheetal Nandi b6121e400c Replace disk path operations to use fileNames instead of path (#56476)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-11-27 22:21:29 -08:00
Sheetal Nandi 1797837351 Handle package json watch life time (#56488) 2023-11-27 14:50:22 -08:00
Jake Bailey 0aa2c48ee3 Make our dts files compile when exactOptionalPropertyTypes is enabled downstream (#56489) 2023-11-21 11:40:31 -08:00
Sheetal Nandi 0abfb521d5 Handle file name casing when deduplicating results from the project (#56438) 2023-11-20 16:30:56 -08:00
Sheetal Nandi 29bb857226 Fix crash when there are multiple packages to install per code fix action (#56400) 2023-11-15 16:13:27 -08:00
Sheetal Nandi e170bc59d4 Pull out parts of TI Adapter so we can test that more correctly instead of having to copy things (#56387) 2023-11-14 10:33:54 -08:00
Sheetal Nandi ca7a3af5e6 Always update LS state through Project (#56356)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-11-10 12:45:39 -08:00
Sheetal Nandi 80ab111685 If the project is orphan dont queue up TI reqquest (#56355) 2023-11-09 12:16:29 -08:00
Sheetal Nandi efecc85dca All tsserver unittests use session and typing installer (#56337) 2023-11-09 11:48:48 -08:00
Sheetal Nandi feeb30dec9 Some of the test refactoring and readable baselining (#56075) 2023-10-12 10:39:40 -07:00
Sheetal Nandi 9473195b6c noDts project resolutions verification and updates for incremental behaviour (#56016) 2023-10-10 10:24:08 -07:00
Sheetal Nandi 3516ca96e5 pass program update level to getExternalFiles in tsserver plugins so plugins can make decision about their cache based on that (#56047)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-10-09 16:05:11 -07:00
Sheetal Nandi 4ec809da37 Fix issue with trailing directory separator not present if symlink wasnt detected by program (#55865) 2023-09-25 16:52:27 -07:00
Sheetal Nandi 934216f968 Support using client watch in tsserver using events (#54662) 2023-09-22 14:25:40 -07:00
Sheetal Nandi dcb0fa7f44 Incremental testing for program structure and resolutions and fixes (#55814) 2023-09-22 10:53:19 -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
Sheetal Nandi ec1414f627 Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Sheetal Nandi 3bc41784f0 Fix issue with wildcard with supported extensions when plugins add external files and override getScriptKind to add script kinds for the additional extensions (#55716) 2023-09-12 11:52:49 -07:00
Gabriela Araujo Britto b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Jake Bailey 0f91f7dff6 Run dprint on json (#55602) 2023-09-01 15:26:01 -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
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
Jake Bailey 87c986cae8 Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -07:00
Sheetal Nandi cd23992100 Temp fix till we investigate #55069 making project.ts changes building error free (#55219) 2023-07-31 11:24:29 -07:00
Jake Bailey 6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Maria José Solano 97310107d0 Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Josh Goldberg ✨ 0ae8ca11d2 Updated typescript-eslint to v6 (#54693)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-14 15:36:10 -07:00
Andrew Branch 22a9ae9eed Offer auto-imports from wildcard exports with AutoImportProvider (#54831) 2023-07-07 12:50:38 -05:00
Sheetal Nandi 3c4c060dff Adds tests and fixes issues by verifying incremental project updates are handling language service ref counting correctly (#54504) 2023-06-06 11:11:14 -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
Sheetal Nandi bbb9f2ebcf Just like request and response, events are also logged as formatted json for readability (#54105) 2023-05-02 13:32:12 -07:00
navya9singh 9d4c291e06 Adding missing parameter (#54045) 2023-04-27 12:36:55 -07:00
Sheetal Nandi a956bbc831 Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00
Sheetal Nandi f22898d577 Close TypingInstaller watches on project close (#54025) 2023-04-26 12:34:42 -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
Sheetal Nandi 30fb9fa57e Refactor plugin related code (#53942) 2023-04-20 16:49:47 -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
Andrew Branch 7bf0337428 Interactive refactor actions (#53915) 2023-04-19 13:01:28 -07:00