diff --git a/docs/chapter_appendix/installation.md b/docs/chapter_appendix/installation.md index ca0c449e..b0722afc 100644 --- a/docs/chapter_appendix/installation.md +++ b/docs/chapter_appendix/installation.md @@ -48,9 +48,14 @@ VS Code 拥有强大的扩展包生态系统,支持大多数编程语言的运 ### JavaScript 环境 -1. 下载并安装 [node.js](https://nodejs.org/en/) 。 -2. 在 VS Code 的插件市场中搜索 `javascript` ,安装 JavaScript (ES6) code snippets 。 -3. (可选)在 VS Code 的插件市场中搜索 `Prettier` ,安装代码格式化工具。 +1. 下载并安装 [Node.js](https://nodejs.org/en/) 。 +2. (可选)在 VS Code 的插件市场中搜索 `Prettier` ,安装代码格式化工具。 + +### TypeScript 环境 + +1. 同 JavaScript 环境安装步骤。 +2. 安装 [TypeScript Execute (tsx)](https://github.com/privatenumber/tsx?tab=readme-ov-file#global-installation) 。 +3. 在 VS Code 的插件市场中搜索 `typescript` ,安装 [Pretty TypeScript Errors](https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors) 。 ### Dart 环境 diff --git a/zh-hant/docs/chapter_appendix/installation.md b/zh-hant/docs/chapter_appendix/installation.md index f989eee0..c6144ee8 100644 --- a/zh-hant/docs/chapter_appendix/installation.md +++ b/zh-hant/docs/chapter_appendix/installation.md @@ -48,9 +48,14 @@ VS Code 擁有強大的擴展包生態系統,支持大多數程式語言的執 ### JavaScript 環境 -1. 下載並安裝 [node.js](https://nodejs.org/en/) 。 -2. 在 VS Code 的擴充功能市場中搜索 `javascript` ,安裝 JavaScript (ES6) code snippets 。 -3. (可選)在 VS Code 的擴充功能市場中搜索 `Prettier` ,安裝程式碼格式化工具。 +1. 下載並安裝 [Node.js](https://nodejs.org/en/) 。 +2. (可選)在 VS Code 的擴充功能市場中搜索 `Prettier` ,安裝程式碼格式化工具。 + +### TypeScript 環境 + +1. 同 JavaScript 環境安裝步驟。 +2. 安裝 [TypeScript Execute (tsx)](https://github.com/privatenumber/tsx?tab=readme-ov-file#global-installation) 。 +3. 在 VS Code 的擴充功能市場中搜索 `typescript` ,安裝 [Pretty TypeScript Errors](https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors) 。 ### Dart 環境