- Add all significant prompts (user messages) to prompts.md, organized by date
- Include prompts.md changes in git commits
- Significant prompts are those that request features, bug fixes, or architectural changes
- Exclude trivial prompts like "commit and push" or "fix typo"
- ALWAYS reload VS Code window automatically after each significant code change (compile, edit) using:
osascript <<'EOF'
tell application "Visual Studio Code"
activate
delay 0.1
end tell
tell application "System Events"
tell process "Visual Studio Code"
keystroke "p" using {command down, shift down}
delay 0.1
keystroke "Developer: Reload Window"
delay 0.1
keystroke return
end tell
end tell
EOFThe extension displays methods for Rust structs using the following approach:
- Use VS Code's definition provider to find the struct definition location
- Extract the actual struct name from the definition (handle type aliases by scanning forward)
- Use grep to search for
implblocks for that struct - Parse function declarations from impl blocks to extract full method signatures
- Extract documentation from
///comments (first paragraph, up to 3 lines) - Display methods with signatures as clickable links and docs below
Grep output format: filename.rs: or filename.rs- prefix must be stripped before parsing.
This approach works for both local structs and external crate types (e.g., DateTime from the time crate).