Skip to content

feat: add hover documentation for Metaflow decorators#14

Open
Shyam-Raghuwanshi wants to merge 1 commit intoouterbounds:mainfrom
Shyam-Raghuwanshi:feature/decorator-hover-docs
Open

feat: add hover documentation for Metaflow decorators#14
Shyam-Raghuwanshi wants to merge 1 commit intoouterbounds:mainfrom
Shyam-Raghuwanshi:feature/decorator-hover-docs

Conversation

@Shyam-Raghuwanshi
Copy link
Copy Markdown

@Shyam-Raghuwanshi Shyam-Raghuwanshi commented Mar 5, 2026

Fixes #8: show inline documentation when hovering over

Metaflow decorators in Python files.

  • Add src/decorators.js with metadata for 20 Metaflow decorators
    (step, retry, catch, timeout, resources, environment, card,
    secrets, kubernetes, batch, conda, pypi, parallel, pytorch_parallel,
    conda_base, pypi_base, project, schedule, trigger, trigger_on_finish)
  • Add src/hoverProvider.js with VS Code HoverProvider showing
    decorator description, parameter table, and docs link
  • Register hover provider in extension.js for Python files
  • Add onLanguage:python activation event
  • Add 29 unit tests for decorator data and hover logic
  • Add test/test_hover_flow.py for manual verification
image image

Resolves outerbounds#8: show inline documentation when hovering over
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.

Decorator hover documentation

1 participant