Skip to content

Commit 8e4f4ec

Browse files
committed
docs: add CLI launch instructions with absolute path requirement
1 parent ac84c79 commit 8e4f4ec

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README-for-developers.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,19 @@ This will:
4242

4343
### Launch Extension Development Host
4444

45-
1. Open this project in VSCode
45+
**Option A: From VS Code (F5)**
46+
1. Open this project in VS Code
4647
2. Press **F5** (or Run → Start Debugging)
47-
3. A new VSCode window opens with the extension loaded
48-
4. Open any TypeScript/JavaScript file
49-
5. Press **Ctrl+Alt+O** (or **Cmd+Alt+O** on macOS) to organize imports
48+
3. A new VS Code window opens with the extension loaded
49+
50+
**Option B: From the command line**
51+
```bash
52+
code --extensionDevelopmentPath=/absolute/path/to/mini-typescript-hero tests/manual/
53+
```
54+
55+
> **Important:** The `--extensionDevelopmentPath` must be an **absolute path**. A relative path like `.` will silently fail to load the extension.
56+
57+
Then open any TypeScript/JavaScript file and press **Ctrl+Alt+O** (or **Cmd+Alt+O** on macOS) to organize imports.
5058

5159
### Manual Test Cases
5260

0 commit comments

Comments
 (0)