Commit Graph

1719 Commits

Author SHA1 Message Date
Matt Bierner 19007fb635 Remove workaround for Microsoft/TypeScript#59831
This has been fixed for a while. We want to avoid having to shim out `os` for browser builds
2026-02-18 15:22:46 -08:00
Matt Bierner cd0e3f3485 Fixing scopes 2026-02-18 07:45:46 -08:00
Matt Bierner 3f8fc43e23 Use standard setting name and fix check 2026-02-17 16:56:50 -08:00
Matt Bierner 2a2f6407e4 Adopt unified js/ts setting for format settings
For #292934
2026-02-17 13:05:55 -08:00
Matt Bierner 5ded895db4 Adopt unified js/ts setting for preferences
For #292934
2026-02-13 15:33:01 -08:00
Matt Bierner dfc43c73a6 Adopt unified js/ts setting for suggest
Fixes #292934
2026-02-12 15:07:36 -08:00
Matt Bierner 7566dfb857 Switch to unified js/ts settings for inlay hints
For #292934
2026-02-11 17:12:25 -08:00
Matt Bierner 0493189e18 Start adopting unified js/ts config for code lenses
For #292934

Testing this with a self contained area first: code lenses. Will keep support for the old setting values too to avoid breaking existing settings
2026-02-10 16:14:49 -08:00
Matt Bierner cfbd57afa6 Remove region diagnostics setting
Part of #292934

This is an implementation detail. Was only really added in 5.6 in case the new behavior caused issues. Should be safe to remove now
2026-02-04 14:44:40 -08:00
Matt Bierner b5be18e85d Merge pull request #280207 from mjbvz/dev/mjbvz/developing-mammal
Add native preview TS version pick option
2025-11-30 18:03:34 -08:00
Matt Bierner 1d5b9b5cd2 Add native preview TS version pick option
Fixes #280206
2025-11-30 17:43:52 -08:00
Matt Bierner dd5c1e4656 Fix tests 2025-11-25 11:22:33 -08:00
Matt Bierner 22ce98c190 Add title for jsdoc symbol links
Fixes #279417
2025-11-25 10:58:36 -08:00
Matt Bierner 9dfb647be4 Still register tsconfig features with tsgo
For https://github.com/microsoft/typescript-go/issues/2153
2025-11-24 08:42:36 -08:00
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 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 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
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 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 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 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
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
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