Skip to content

✨ Add Test CodeLens navigation#8

Merged
savannahostrowski merged 4 commits intomainfrom
code-lens-v2
Jan 14, 2026
Merged

✨ Add Test CodeLens navigation#8
savannahostrowski merged 4 commits intomainfrom
code-lens-v2

Conversation

@savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Jan 14, 2026

Needs #3

Closes https://github.com/fastapilabs/cloud/issues/2420

This PR:

  • Adds CodeLens navigation above test client calls (e.g., client.get("/items")). Clicking on the lens navigates to the route definition with back-button history preserved. Single matches navigate directly; multiple matches show a peek selection.
  • Adds fastapi.showTestCodeLenses setting to disable CodeLens (default: enabled)

Review order:
#2
#3
#8 ⬅️ (you're here!)

@savannahostrowski savannahostrowski changed the base branch from file-watching to main January 14, 2026 22:12
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works! 🚀

@savannahostrowski savannahostrowski merged commit bf28619 into main Jan 14, 2026
6 of 7 checks passed
@savannahostrowski savannahostrowski deleted the code-lens-v2 branch January 14, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants