From 5f791e294f155f8dfcbb1eba6da5baa17ba6ecf8 Mon Sep 17 00:00:00 2001 From: misrilal Date: Tue, 31 Mar 2026 22:24:03 +0530 Subject: [PATCH 1/2] docs(language-tools): mention js/ts settings namespace in vscode --- packages/language-tools/vscode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/language-tools/vscode/README.md b/packages/language-tools/vscode/README.md index c0b8933c4b7f..0a0924403f4e 100644 --- a/packages/language-tools/vscode/README.md +++ b/packages/language-tools/vscode/README.md @@ -25,7 +25,7 @@ A TypeScript plugin adding support for importing and exporting Astro components ## Configuration -HTML, CSS and TypeScript settings can be configured through the `html`, `css` and `typescript` namespaces respectively. For example, HTML documentation on hover can be disabled using `'html.hover.documentation': false`. Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html). +HTML and CSS settings can be configured through the `html` and `css` namespaces. TypeScript settings are available under `js/ts` in recent VS Code versions, and under `typescript` in older versions. For example, HTML documentation on hover can be disabled using `'html.hover.documentation': false`. Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html). ## Troubleshooting From 20067eb77072797064dd994f4c95d896170f8100 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 1 Apr 2026 17:47:00 -0400 Subject: [PATCH 2/2] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- packages/language-tools/vscode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/language-tools/vscode/README.md b/packages/language-tools/vscode/README.md index 0a0924403f4e..2423adf1ed09 100644 --- a/packages/language-tools/vscode/README.md +++ b/packages/language-tools/vscode/README.md @@ -25,7 +25,7 @@ A TypeScript plugin adding support for importing and exporting Astro components ## Configuration -HTML and CSS settings can be configured through the `html` and `css` namespaces. TypeScript settings are available under `js/ts` in recent VS Code versions, and under `typescript` in older versions. For example, HTML documentation on hover can be disabled using `'html.hover.documentation': false`. Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html). +HTML and CSS settings can be configured through the `html` and `css` setting prefixes. TypeScript-related settings appear in the VS Code Settings UI under the **JavaScript and TypeScript (js/ts)** category in recent VS Code versions, but the actual JSON keys use the `typescript.*` namespace (for example, `"typescript.preferences.importModuleSpecifier": "non-relative"`). For example, HTML documentation on hover can be disabled using `"html.hover.documentation": false`. Formatting can be configured through [Prettier's different configuration methods](https://prettier.io/docs/en/configuration.html). ## Troubleshooting