Merge pull request 'Fix #8 follow-up: EDH opens a committed sandbox/ playground (one-folder-one-window collision)' (#11) from fix/edh-sandbox-workspace into main
This commit was merged in pull request #11.
This commit is contained in:
@@ -5,3 +5,6 @@ out/
|
|||||||
|
|
||||||
# E2E throwaway sidecars (the harness copies the fixture to a tmpdir, but guard anyway)
|
# E2E throwaway sidecars (the harness copies the fixture to a tmpdir, but guard anyway)
|
||||||
test/e2e/fixtures/workspace/.threads/
|
test/e2e/fixtures/workspace/.threads/
|
||||||
|
|
||||||
|
# Sandbox playground churn (the EDH workspace - play freely, commit nothing)
|
||||||
|
sandbox/.threads/
|
||||||
|
|||||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
"name": "Run Extension",
|
"name": "Run Extension",
|
||||||
"type": "extensionHost",
|
"type": "extensionHost",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"args": ["${workspaceFolder}", "--extensionDevelopmentPath=${workspaceFolder}"],
|
"args": ["${workspaceFolder}/sandbox", "--extensionDevelopmentPath=${workspaceFolder}"],
|
||||||
"outFiles": ["${workspaceFolder}/out/**/*.cjs"],
|
"outFiles": ["${workspaceFolder}/out/**/*.cjs"],
|
||||||
"preLaunchTask": "npm: build"
|
"preLaunchTask": "npm: build"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ human/Claude attribution (Feature #6).
|
|||||||
1. `npm install`
|
1. `npm install`
|
||||||
2. `npm run build`
|
2. `npm run build`
|
||||||
3. Press **F5** (or Run → "Run Extension") to launch the Extension Development Host.
|
3. Press **F5** (or Run → "Run Extension") to launch the Extension Development Host.
|
||||||
|
It opens the committed **`sandbox/`** playground as its workspace (not the
|
||||||
|
repo itself — VS Code won't open one folder in two windows, #8); start with
|
||||||
|
`sandbox/playground.md`.
|
||||||
4. In the new window: **Cmd/Ctrl+Shift+P** → **"Cowriting: Show Cline SDK Info"**.
|
4. In the new window: **Cmd/Ctrl+Shift+P** → **"Cowriting: Show Cline SDK Info"**.
|
||||||
|
|
||||||
## F2 — Region-anchored threads (Feature #4)
|
## F2 — Region-anchored threads (Feature #4)
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# Cowriting sandbox
|
||||||
|
|
||||||
|
This folder is the Extension Development Host's workspace (see
|
||||||
|
`.vscode/launch.json`): F5 opens it instead of the extension repo itself,
|
||||||
|
because VS Code won't open one folder in two windows and the repo is already
|
||||||
|
open in your dev window (#8).
|
||||||
|
|
||||||
|
Play here:
|
||||||
|
|
||||||
|
1. Type a sentence below — it renders with the human left-border as you type.
|
||||||
|
2. Highlight it → right-click → **Ask Claude to Edit Selection** — the
|
||||||
|
replacement lands Claude-tinted.
|
||||||
|
3. Edit inside the tinted span — it splits character-precisely.
|
||||||
|
4. Save, then peek at `sandbox/.threads/playground.md.json` — the git-native
|
||||||
|
attribution record. Reopen the file: spans re-resolve.
|
||||||
|
5. Highlight text → right-click → **Add Coauthoring Thread on Selection** for
|
||||||
|
an anchored discussion thread.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
The quick brown fox jumps over the lazy dog.
|
||||||
Reference in New Issue
Block a user