Commit Graph

2050 Commits

Author SHA1 Message Date
Tyler James Leonhardt
8711dcb9da Fix offending l10n.t call and add an eslint rule to prevent it from happening (#277577)
ref https://github.com/microsoft/vscode/issues/277576
2025-11-14 18:13:03 -08:00
Matt Bierner
723aa849c9 Convert gulpfiles to modules
Makes a pass through our top level gulpfiles to convert them to modules
2025-11-11 15:28:50 -08:00
Megan Rogge
b245d3d16c add tsgo watcher (#276751) 2025-11-11 17:35:52 +00:00
Matt Bierner
078d0d5707 Merge pull request #264546 from ritesh006/test/implementations-codelens
feat(ts-codeLens): show "implementations" CodeLens for overridden methods #263749
2025-11-03 12:04:42 -08:00
Matt Bierner
d02b204cb0 Make sure more TS commands are disabled when tsgo is active
We need to clear the contexts when switching to tsgo
2025-10-16 17:14:38 -07:00
Matt Bierner
e8b2531c8b Merge pull request #271470 from mjbvz/dev/mjbvz/panicky-mockingbird
Enforce single quote string usage in extension tests
2025-10-15 11:16:49 -07:00
Matt Bierner
29eb45f7fe Make sure we clear diagnostics when switching to tsgo 2025-10-15 10:58:57 -07:00
Matt Bierner
40fd1d8ebc Fix string name 2025-10-15 10:16:00 -07:00
Matt Bierner
1c35a4d05c Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Matt Bierner
c3bcc160ce Doc fixes 2025-10-15 00:42:59 -07:00
Matt Bierner
c099047be6 Update tests and small tweaks 2025-10-15 00:40:11 -07:00
Matt Bierner
98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Ritesh Kudkelwar
1d291cd7a9 Merge branch 'main' into test/implementations-codelens 2025-10-11 10:50:06 +05:30
ritesh006
cd5348abcd ts-codelens: implementations for overrides + test 2025-10-11 10:49:03 +05:30
Matt Bierner
ff4c31cbec Reduce any usage in ts extension
Follow up on #269213
2025-10-06 13:59:38 -07:00
Matt Bierner
4d32398e42 Fix checking $traceid for empty args 2025-10-06 10:10:49 -07:00
Matt Bierner
21337a4ad0 Add assertion 2025-10-03 14:45:09 -07:00
Matt Bierner
cb01224865 Fix all any casts in TS extension
For #269213
2025-10-03 14:01:27 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
d26ff4659d Merge pull request #269402 from mjbvz/dev/mjbvz/outside-capybara
Only disable built-in TS if TS go is installed
2025-10-01 10:57:22 -07:00
Matt Bierner
4151d4bc5e Only disable built-in TS if TS go is installed
Fixes #269036

We should check both the setting that the native extension is actually installed
2025-10-01 10:41:09 -07:00
Matt Bierner
9b6c88bf2f Remove restart call when enabling TS native
Fixes #266087

Should no longer be required after upstream changes
2025-10-01 10:33:04 -07:00
Matt Bierner
76f5e55dae Fix missing localized string 2025-09-22 15:54:48 -07:00
Matt Bierner
6303bf7e37 Merge pull request #266088 from mjbvz/permanent-wolf
Don't require restart when switching to TS native
2025-09-10 15:59:54 -07:00
Matt Bierner
cd05e0cb6c Remove copilot from strings and localize them
Fixes #264155
2025-09-10 14:59:11 -07:00
Matt Bierner
5ba9efdf40 Don't require restart when switching to TS native
For #266087

Dynamically registers / unregisters the language features
2025-09-10 13:13:55 -07:00
Matt Bierner
6752afe8ad Merge pull request #261560 from microsoft/copilot/fix-260168
Enable strict by default in implicit js/ts projects
2025-08-14 12:36:38 -07:00
Matt Bierner
73e6d6a0a2 Enable a few more stylistic eslint options for my extensions 2025-08-14 10:42:20 -07:00
copilot-swe-agent[bot]
5f1c49b2e4 Remove unit tests as requested in PR feedback
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2025-08-14 16:44:43 +00:00
copilot-swe-agent[bot]
822232673f Add js/ts.implicitProjectConfig.strict setting for implicit projects
- Add strict property to ImplicitProjectConfiguration class
- Update inferredProjectCompilerOptions to handle strict setting
- Add configuration setting to package.json with default true
- Add localization string for the new setting
- Create unit tests for the new functionality

This enables strict mode by default in implicit JS/TS projects, aligning with TS 6.0.

Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2025-08-14 00:35:19 +00:00
Matt Bierner
fa28a15d0c Disable js/ts for chat-editing-text-model files 2025-08-12 13:38:07 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
d8c9852fe9 Don't use experimental decorators in extensions
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Matt Bierner
949aadab93 Bump implicit js/ts target to ES2024 2025-08-05 10:46:13 -07:00
Matt Bierner
7094490c32 Remove expandable hover setting
Seems like there's no downside in keeping this enabled by default for everyone
2025-07-23 12:37:03 -07:00
Matt Bierner
d21a5769dd Merge pull request #256256 from andy0130tw/andy0130tw/support-locale-argument-in-tsserver-web
Support the locale argument of TypeScript language server on the web version (#256252)
2025-07-16 13:35:44 -07:00
Matt Bierner
cdc005d1cb Fix a few expect error and bump web version 2025-07-16 11:10:43 -07:00
Matt Bierner
e624e6aee4 Pick up TS 5.9-beta for built-in support 2025-07-16 11:02:20 -07:00
Andy Pan
2092c72652 Let typescript-language-feature support locale argument in web environment 2025-07-16 21:38:20 +08:00
Martin Aeschlimann
6dd2b84fa2 Merge pull request #254690 from madskristensen/schemastore-subdomain-fix
Updated references to schemastore.org
2025-07-11 12:10:29 +02:00
Matt Bierner
a72da85587 Merge branch 'main' into tmm1/ts-integration-results 2025-07-10 15:23:26 -07:00
Gabriel Csapo
8746da1b14 Merge branch 'main' into gcsapo/adds-log-level-for-tsserver 2025-07-09 16:46:54 -07:00
Gabriel Csapo
b2152a7418 chore: updates server.log enum 2025-07-09 11:29:39 -07:00
Mads Kristensen
434260839e Updated references to schemastore.org 2025-07-08 09:48:52 -07:00
Aman Karmani
8b7988cffd [engineering] ensure typescript integration tests emit junit reports
not sure if this was intentional but it seems like an oversight
2025-07-01 16:45:28 -07:00
Jean Pierre
0140ab3f1b Do not check for navigator to detect web environment in built-in extensions (#251688)
Do not check for navigator to detect web environment
2025-06-18 04:37:42 +00:00
Gabriel Csapo
c4c7118590 feat: adds (requestTime) logLevel to match tsserver options 2025-06-05 15:57:40 -04:00
Dirk Baeumer
bd9d26deb3 Add pending commands in queue order 2025-05-19 21:30:24 +02:00
Dirk Baeumer
155d317f52 Always capture command in callback 2025-05-19 20:53:57 +02:00
Dirk Baeumer
1b196d8046 Print queued command and pending response command names 2025-05-19 19:12:12 +02:00