Files
vscode-cowriting-plugin/sandbox/playground.md
2026-06-10 22:14:13 -07:00

977 B

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 — Claude proposes a diff (amber tint + a "Claude proposes" thread); click ✓ Accept Proposal and it lands Claude-tinted, or ✗ Reject Proposal to discard.
  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.