Skip to content

feat: display resolved catalog spec in editor#72

Open
9romise wants to merge 3 commits intomainfrom
catalog
Open

feat: display resolved catalog spec in editor#72
9romise wants to merge 3 commits intomainfrom
catalog

Conversation

@9romise
Copy link
Member

@9romise 9romise commented Mar 10, 2026

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

📝 Walkthrough

Walkthrough

This pull request introduces inline decoration functionality for displaying resolved version specifications of catalog dependencies in package.json files. A new useDecorators() function is added to handle VSCode decorations that render dependency information. The function subscribes to active editor changes, validates package manifest files, resolves dependencies with the catalog protocol, and displays the resolved specification as after-content decorations on corresponding lines. The extension activation sequence is updated to invoke this decorator when the extension initialises. Documentation is updated to reflect the new Catalog Resolution feature.

🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The pull request description is related to the changeset, referencing an external inspiration and including a visual example of the feature being implemented.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch catalog

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant