Skip to content

Commit b13b241

Browse files
author
ignace
committed
docs: add instruction on disabling TS plugin in Glint plugin
1 parent 77d319e commit b13b241

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/vscode/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ See the [Glint home page] for a more detailed Getting Started guide.
1010

1111
1. Add `@glint/core`, `@glint/template` and an appropriate environment package to your project's `devDependencies`.
1212
1. Add a `"glint"` key to your project's `tsconfig.json` or `jsconfig.json` specifying your environment and any other relevant configuration.
13-
1. Consider disabling the built-in `vscode.typescript-language-features` extension for any workspaces where you use Glint to avoid extraneous diagnostics. <details><summary>Screenshot</summary>
13+
1. Consider disabling the built-in `vscode.typescript-language-features` extension for any workspaces where you use Glint to avoid extraneous diagnostics.
14+
15+
<details><summary>Instructions</summary>
16+
17+
1. In your project workspace, bring up the command palette with `Ctrl + Shift + P` (macOS: `Cmd + Shift + P`).
18+
2. Type `built` and select "Extensions: Show Built-in Extensions".
19+
3. Type `typescript` in the extension search box (do not remove `@builtin` prefix).
20+
4. Click the little gear icon of "TypeScript and JavaScript Language Features", and select "Disable (Workspace)".
21+
5. Reload the workspace. Glint will now take over TS language services.
22+
</details>
23+
<details><summary>Screenshot</summary>
1424
<img src="https://user-images.githubusercontent.com/108688/111069039-6dc84100-84cb-11eb-8339-18a589be2ac5.png" width="500">
1525
</details>
1626

0 commit comments

Comments
 (0)