Skip to content

Suggest TypeScript 7 for users with no plugins enabled - #327208

Closed
Daniel Rosenwasser (DanielRosenwasser) wants to merge 3 commits into
mainfrom
suggestTs7IfNoPlugins
Closed

Suggest TypeScript 7 for users with no plugins enabled#327208
Daniel Rosenwasser (DanielRosenwasser) wants to merge 3 commits into
mainfrom
suggestTs7IfNoPlugins

Conversation

@DanielRosenwasser

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 23, 2026 21:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Broadens the TypeScript 7 preview suggestion to users without incompatible TSServer plugins.

Changes:

  • Gates the suggestion on enabled plugins, exempting Copilot.
  • Renames the experimentation treatment.
  • Recognizes current stable and nightly TypeScript 7 extensions.
Show a summary per file
File Description
suggestNativePreview.ts Adds plugin-based eligibility gating.
typescriptServiceClient.ts Exports the Copilot extension ID.
extension.ts Passes the plugin manager to suggestion logic.
experimentationService.ts Updates the treatment variable type.
useTsgo.ts Adds current TypeScript 7 extension IDs.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0
  • Review effort level: Medium

experimentationService: ExperimentationService,
pluginManager: PluginManager,
): Promise<void> {
if (context.globalState.get<boolean>(suggestNativePreviewStorageKey)) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're specifically using the same storage key so that if you got this prompt in the past, we won't bug you again.

But I'm now thinking that maybe we should respect the key and not show anything, but set a separate one for new users instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants