Skip to content

Commit 149ee5c

Browse files
author
ignace
committed
docs: shorten TS disable steps
1 parent 85f32a6 commit 149ee5c

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

docs/getting-started.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ You can install an editor extension to display Glint's diagnostics inline in you
4747

4848
To get Ember/Glimmer and TypeScript working together, Glint creates a separate TS language service instance patched with Ember-specific support. To prevent invalid or duplicate diagnostics you need to disable VSCode's built-in TS language service in your project's workspace only by following these steps:
4949

50-
1. In your project workspace, bring up the command palette with `Ctrl + Shift + P` (macOS: `Cmd + Shift + P`).
51-
2. Type `built` and select "Extensions: Show Built-in Extensions".
52-
3. Type `typescript` in the extension search box (do not remove `@builtin` prefix).
53-
4. Click the little gear icon of "TypeScript and JavaScript Language Features", and select "Disable (Workspace)".
54-
5. Reload the workspace. Glint will now take over TS language services.
50+
1. In your project workspace, bring up the extensions sidebar `Ctrl + Shift + X` (macOS: `Cmd + Shift + X`).
51+
1. Type `@builtin typescript` in the extension search box
52+
1. Click the little gear icon of "TypeScript and JavaScript Language Features", and select "Disable (Workspace)".
53+
1. Reload the workspace. Glint will now take over TS language services.
5554

5655
![Disabling built-in TS language service per workspace](https://user-images.githubusercontent.com/108688/111069039-6dc84100-84cb-11eb-8339-18a589be2ac5.png)

packages/vscode/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ See the [Glint home page] for a more detailed Getting Started guide.
1414

1515
<details><summary>Instructions</summary>
1616

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.
17+
1. In your project workspace, bring up the extensions sidebar `Ctrl + Shift + X` (macOS: `Cmd + Shift + X`).
18+
1. Type `@builtin typescript` in the extension search box
19+
1. Click the little gear icon of "TypeScript and JavaScript Language Features", and select "Disable (Workspace)".
20+
1. Reload the workspace. Glint will now take over TS language services.
2221

2322
<img src="https://user-images.githubusercontent.com/108688/111069039-6dc84100-84cb-11eb-8339-18a589be2ac5.png" width="500">
2423
</details>

0 commit comments

Comments
 (0)