T
traeai
登录
返回首页
Visual Studio Blog

TypeScript 7 Beta Now Enabled by Default in Visual Studio 2026 18.6 Insiders 3

8.5Score
TypeScript 7 Beta Now Enabled by Default in Visual Studio 2026 18.6 Insiders 3
AI 深度提炼
  • 内置TypeScript SDK更新至TypeScript 7 Beta,带来原生预览及并行处理能力,大幅提高编译效率与内存使用。
  • IntelliSense、查找引用、跳转定义等功能响应更快,项目加载时间减少约8倍,提升开发者体验。
  • 可通过项目内安装特定版本TypeScript来替代内置版本,支持回退到旧版语言服务或指定TypeScript 7 Beta版本。

结构提纲

按章节快速跳转。

  1. 介绍Visual Studio最新Insiders版本中TypeScript 7 Beta的默认启用情况及其对项目的直接影响。

  2. 阐述TypeScript 7原生端口带来的执行速度提升、并行处理能力及对大型代码库的显著改进。

  3. 列举了IntelliSense、查找引用等特性在新版本中的加速效果,以及项目加载时间的大幅度减少。

  4. 说明如何在项目中安装特定版本的TypeScript以替代内置版本,并提供回退至旧版的方法。

  5. 提及尽管有显著进步,但仍存在一些已知问题需用户注意。

思维导图

用一张图看清主题之间的关系。

正在生成思维导图…
查看大纲文本(无障碍 / 无 JS 友好)
  • TypeScript 7 Beta in VS 2026
    • 原生预览特点
      • 编译速度提升10x
    • 性能改进
      • 加载项目时间减少8x
      • IntelliSense响应加快
    • 版本管理
      • 项目本地版本优先
      • 禁用原生预览方法

金句 / Highlights

值得收藏与分享的关键句。

  • 我们已将内置TypeScript SDK更新至TypeScript 7 Beta(原生预览),这为编译器和语言服务带来了原生执行速度和共享内存并行性。
    ⬇︎ 下载 PNG𝕏 分享到 X
  • 对于大型TypeScript或JavaScript项目,您应该会看到整个开发体验的显著改善。
    ⬇︎ 下载 PNG𝕏 分享到 X
  • 如果想回到使用之前的TypeScript语言服务,可以在预览功能设置中禁用原生预览。
    ⬇︎ 下载 PNG𝕏 分享到 X
#TypeScript#Visual Studio#JavaScript#性能优化
打开原文

April 30th, 2026

!Image 1: like1 reaction

Image 2: Sayed Ibrahim Hashimi

Principal Product Manager

TypeScript 7 Beta Now Enabled by Default in Visual Studio 2026 18.6 Insiders 3

In Visual Studio 2026 18.6 Insiders 3 we have updated the built-in TypeScript SDK to**TypeScript 7 Beta (native preview)**. The TypeScript SDK provides the compiler and language service used for TypeScript and JavaScript support in Visual Studio. This update impacts any project that uses the built-in SDK, including TypeScript projects, ASP.NET Core projects with npm packages, and any TypeScript or JavaScript files you are editing. If your project doesn’t have a specific TypeScript version installed, Visual Studio will use the new native compiler by default. In this post we will go over what this change means for you, how to use a different version of TypeScript if needed, and the known issues we are currently working on. You can download the latest Insiders release with the link below.

What is the TypeScript 7 native preview?

TypeScript 7 is anative port of the TypeScript compiler and tools. This is a significant change that brings native execution speed and shared-memory parallelism to the TypeScript compiler and language service. We have seen compile time improvements of up to 10x for large code bases, along with substantially reduced memory usage. If you are working with large TypeScript or JavaScript projects, you should see a noticeable improvement across your entire development experience.

In addition to faster compile times, the TypeScript language service has significant performance improvements as well. We have seen that the time to load projects has decreased roughly 8x. The improvements are not limited to load times; you should see a general speed improvement across the board with any features which interact with the TypeScript language service. Some of the Visual Studio features that benefit from these improvements include.

  • **IntelliSense and completions.**Code completions and parameter info should appear faster, especially in large projects where you may have previously noticed a delay.
  • **Find All References.**Searching for references across your solution is significantly faster.
  • **Go to Definition.**Navigating to definitions is more responsive.
  • **Error diagnostics.**Squiggles and error lists update more quickly as you type.
  • **Project load times.**Opening TypeScript and JavaScript projects in Visual Studio should be noticeably faster, with load times decreasing by roughly 8x.

If you are working with large code bases, you should see a noticeable improvement to your entire development experience. You will spend less time waiting for the IDE to respond and more time being productive working on your applications.

For more details on TypeScript 7 and the performance improvements, see theAnnouncing TypeScript 7.0 Betablog post.

Using a different TypeScript version

Visual Studio ships with a built-in version of the TypeScript compiler and language service for cases where the project doesn’t specify a specific version to be used. Starting with this release, that built-in version is TypeScript 7 Beta. If you prefer to use a different version, you can install it in your project and**Visual Studio will always use the project-local version over the built-in one**.

Disabling TypeScript 7 native preview

If you want to go back to using the previous TypeScript language service, you can disable the native preview in Visual Studio. Go to _Tools > Options > Preview Features_ and search for “native preview”. Uncheck the**Enable JavaScript/TypeScript Native Language Service Preview**option and restart Visual Studio.

Using TypeScript 6.x (GA)

To use the current stable release, install thetypescriptpackage in your project.

`npm install -D typescript@^6.0.0`

Using a specific TypeScript 7 native preview version

If you want to pin to a specific version of the native preview, install the@typescript/native-previewpackage.

`npm install -D @typescript/native-preview@beta` In both cases, Visual Studio will detect the version in your node_modules and use that instead of the built-in SDK.

Known issues

TypeScript 7 brings significant performance improvements to Visual Studio, and we are continuing to refine the experience. Below are the known issues that we are actively working on. This is not an exhaustive list.

  • **IntelliSense.**You may notice completions not appearing in some cases. In.cshtml files, the TypeScript completion list may not appear inside a<script>tag. When accepting a completion for the last argument of a function, the closing parenthesis may be removed. Pressing Ctrl+Space can work around this.
  • **Code Actions & Refactoring.**Quick fixes (Ctrl+.) are not available yet. Only Copilot AI-based suggestions may appear. The Organize Imports command (Ctrl+R, Ctrl+G) is also not available.
  • **Navigation & Search.**The navigation bar dropdowns at the top of the editor do not show document symbols. Find All References (Shift+F12) shows a flat list without semantic grouping (read/write/declaration), and cross-file references may be incomplete. Code search results may show mismatched titles and descriptions.
  • **CodeLens.**Reference counts (e.g., “19 references”) do not appear above interface and class declarations.
  • **Hover tooltips.**Hover tooltips are missing the symbol icon and have different text coloring compared to the previous language service.
  • **Snippets.**Insert Snippet (Ctrl+K, Ctrl+X) does not work in JavaScript files.
  • **JSDoc.**Typing/**above a function with parameters does not auto-generate the JSDoc template with@param entries.
  • **Formatting.**Unchecking “Format on open block {” in _Tools > Options > Text Editor > JavaScript/TypeScript > Formatting_ does not take effect.
  • **Task List.**If a TypeScript file contains both a TODO comment and a variable named “TODO”, the Task List may incorrectly show duplicate tasks.
  • **File and folder rename.**Renaming a file or folder in a TypeScript project does not consistently update import paths in other files.
  • **File watching.**When files are modified outside of Visual Studio, changes are not detected until the file is opened and modified inside the IDE. Errors from external edits will not appear in the Error List.

We appreciate your feedback as we work toward full parity.

Reporting feedback

If you have feedback on the TypeScript compiler, or language service, the best place to file feedback is thetypescript-go GitHub repo.

If you are running into an issue that is specific to Visual Studio, you can share feedback with us viaDeveloper Community: report any bugs or issues viareport a problemand share yoursuggestions for new featuresor improvements to existing ones.

We would love if you could try out the new experience and let us know how it’s working for you. Please try it out and share your feedback with us.

Author

Image 3: Sayed Ibrahim Hashimi

Principal Product Manager

Sayed Ibrahim Hashimi has a computer engineering degree from the University of Florida. He works at Microsoft as a Principal Program Manager creating better tools for .NET Core, and ASP.NET Core developers.

问问这篇内容

回答仅基于本篇材料
    0 / 500

    Skill 包

    领域模板,一键产出结构化笔记
    • 论文精读包

      把一篇论文 / 技术博客精读成结构化笔记:问题、方法、实验、批判、延伸阅读。

      • · TL;DR(1 段)
      • · 研究问题与动机
      • · 方法概览
    • 投融资雷达包

      把一条融资 / 创投新闻整理成投资人视角的雷达卡:交易要点、判断、竞争格局、风险、尽调清单。

      • · 交易要点(公司 / 轮次 / 金额 / 投资人 / 估值,材料未明示则写 “未披露”)
      • · 投资 thesis(这家公司为什么值得关注)
      • · 竞争格局与替代方案

    导出到第二大脑

    支持 Notion / Obsidian / Readwise
    下载 Markdown(Obsidian 直接拖入)