Skip to content

docs: add hands-on editor-autocomplete step and fix REPL claim#14

Merged
IanMayo merged 2 commits into
mainfrom
claude/wonderful-noether-ycnjwz
Jun 20, 2026
Merged

docs: add hands-on editor-autocomplete step and fix REPL claim#14
IanMayo merged 2 commits into
mainfrom
claude/wonderful-noether-ycnjwz

Conversation

@IanMayo

@IanMayo IanMayo commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

What

Follow-up to the merged #13. Two changes to the README "Self-guided adventures" section, plus a new scratch file:

  1. Correct the autocomplete claim. The original text attributed REPL tab-completion to the fields being declared. That conflated two mechanisms: editor (Pylance) autocomplete is the static, declared-field feature; REPL completion is a separate runtime readline/rlcompleter introspection. The text now says this accurately.

  2. Add a hands-on editor-autocomplete step. Adventure 2 now opens with a step that has you open a real .py file in VS Code and experience Pylance completing a typed Platform object, drilling down attribute by attribute — the genuine payoff of declared fields.

  3. New file examples/explore_platform.py — a small, runnable, freely-editable scratch file that builds a typed Platform, with a commented platform. line ready to trigger autocomplete on, and a couple of print statements so it also runs.

Verification

  • python examples/explore_platform.py runs and prints the platform type and first band centre frequency.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits June 20, 2026 17:55
The declared-fields payoff is editor (Pylance) autocomplete, not REPL
tab-completion. Clarify that REPL completion is a separate readline/
rlcompleter feature and show how to enable it for a session.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHAkhfmfcCdWTHZuvRcJNF
Add examples/explore_platform.py — a runnable, freely-editable file that
builds a typed Platform — and a README step walking through experiencing
Pylance autocomplete on it in VS Code. Reframe the REPL completion note
as the separate runtime feature it is.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AHAkhfmfcCdWTHZuvRcJNF
@github-actions

github-actions Bot commented Jun 20, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-20 18:03 UTC

@IanMayo IanMayo merged commit f34d11b into main Jun 20, 2026
3 checks passed
@IanMayo IanMayo deleted the claude/wonderful-noether-ycnjwz branch June 20, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants