Commit Graph

2264 Commits

Author SHA1 Message Date
Mateusz Burzyński
413f0fa831 Fixed crash when looking for contextual inherited JSDocs for setters and getters (#60027)
Co-authored-by: Gabriela Araujo Britto <garaujobritto@gmail.com>
2024-09-25 11:04:01 -07:00
Isabel Duan
52eaa7b02f Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Sheetal Nandi
87d0e771a8 Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Jake Bailey
195203e971 Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -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
Daniel Rosenwasser
a6fb4dc103 Create a SourceFile-level indirection on children maps, store SyntaxList children directly on nodes. (#59154) 2024-07-08 16:55:41 -07:00
Sheetal Nandi
247a98335d In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile (#59181) 2024-07-08 13:37:44 -07:00
Gabriela Araujo Britto
4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Kat Marchán
ddf43cd0e0 CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
navya9singh
be8fb98cf1 Implementing copy/paste (#57262) 2024-05-08 16:07:51 -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
Daniel Rosenwasser
e8f22253ba Don't cache child lists for tokens (#58233) 2024-04-19 14:49:31 -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
Jake Bailey
967d6189a6 Add lint error for declarations marked internal, but unexported (#58229) 2024-04-17 13:52:31 -07:00
Oleksandr T
4b01686602 fix(58151): JSDoc tags get lost when inheriting from a grandparent class (#58183) 2024-04-15 15:47:40 -07:00
Jake Bailey
3456c6e21c Monomorphize allocators for tsserver/public API, just like core compiler (#58045) 2024-04-04 17:03:03 -07:00
Mateusz Burzyński
69e7e57b15 Fixed crashes when looking up symbols of jsdoc nodes in TS files (#57110)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-04-04 15:45:35 -07:00
Oleksandr T
c18c1c20dc fix(57302): Cannot move symbols from tsx to ts files (#57305) 2024-02-16 10:36:23 -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
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
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
Mateusz Burzyński
fd0936755b Improve quick info display on properties belonging to all union contextual type members (#56088) 2023-11-03 10:38:28 -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
Gabriela Araujo Britto
b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -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
Jake Bailey
5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Jake Bailey
3b43d841d1 Enable eslint rules prefer-rest-params and prefer-spread (#55181) 2023-08-11 15:07:06 -07:00
Jake Bailey
6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Sheetal Nandi
5464403848 ParseConfigHost needs to extend ModuleResolutionHost (#54922) 2023-07-10 11:40:40 -07: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
Sheetal Nandi
c64a378ef9 Handle already released source files that dont match scriptKind (#54401) 2023-05-25 15:58:22 -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
Isabel Duan
c1693054fe added wordPattern Regex to include more characters (#53934) 2023-04-20 15:38:55 -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
Oleksandr T
378ffa4bc9 feat(7411): Resolve intrinsics elements by JSX namespaced tag names (#53799) 2023-04-16 17:20:10 -07:00
Isabel Duan
d4c48e1495 Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Jake Bailey
ac55b297b7 Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
Jake Bailey
913f65c28d Remove most "import * as ts" imports, except for const enum reverse mapping and plugins (#53329) 2023-03-20 10:50:40 -07:00
Nathan Shively-Sanders
ff1e08f859 Rename scanner token methods (#53078) 2023-03-07 13:54:44 -08:00
Sheetal Nandi
dcc766f2b2 Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
Jake Bailey
6b75ce23ce Completely remove Push type (#52133) 2023-03-01 09:34:59 -08:00
Jake Bailey
ca1cf3dd85 Deprecate UnderscoreEscapedMap and remove internal uses (#53032) 2023-02-28 16:55:29 -08:00
Vitaly
2f43308dc4 Add API option to getCompletionsAtPosition to expose completion symbol information (#52560)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-02-16 11:09:29 -08:00
Jake Bailey
2a8436c529 Use eslint-plugin-simple-import-sort (#52090) 2023-02-02 14:36:21 -08:00
Jake Bailey
10941888dc Plumb formatting to getDocCommentTemplateAtPosition (#52349)
Fixes https://github.com/microsoft/TypeScript/issues/52348
2023-01-23 15:31:58 -08:00
Ryan Cavanaugh
ff92ab0ac9 Change default newLine, forceConsistentCasingInFileNames (#52298)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-01-20 17:20:26 -08:00