Skip to content

Conversation

@Power-Maverick
Copy link
Owner

No description provided.

- Added SVG icon for generic tool and PNG icons for PRT and PD tools.
- Implemented `registerToolsCommands` function to register commands for opening the Dataverse REST Builder (DRB), launching PRT, CMT, and PD tools.
- Created `ToolsHelper` class to manage tool interactions, including opening the DRB and launching tools based on user selection.
- Included error handling for command execution failures.
Copilot AI review requested due to automatic review settings October 12, 2025 23:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements a tools realignment feature that refactors how tools are managed in the VS Code extension. The changes consolidate tool functionality into a unified helper system, update interface property names for better consistency, and reorganize command registration.

  • Refactored tool interfaces to use cleaner property names (name, shortName, author) and added optional icon support
  • Consolidated tool functionality by replacing DRBHelper with a comprehensive ToolsHelper class
  • Reorganized command registration by moving tool-specific commands to a dedicated registration module

Reviewed Changes

Copilot reviewed 10 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/utils/Interfaces.ts Updated IToolDetails interface with cleaner property names and added optional icon field
src/utils/ErrorMessages.ts Added new error message for common tool operations
src/tools/toolsDataProvider.ts Updated to use new interface properties and simplified icon path logic
src/tools/tools.json Restructured tool definitions with new property names and explicit icon specifications
src/helpers/toolsHelper.ts New comprehensive helper class that consolidates all tool operations
src/helpers/drbHelper.ts Removed file - functionality moved to ToolsHelper
src/extension.ts Added registration of new tools commands module
src/commands/registerToolsCommands.ts New module for registering tool-specific commands
src/commands/registerCommands.ts Removed tool commands and updated to use new ToolsHelper
package.json Added "DVDT" keyword

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Power-Maverick Power-Maverick merged commit be65e9f into main Oct 12, 2025
2 checks passed
@Power-Maverick Power-Maverick deleted the feat-tools-realignment branch October 12, 2025 23:50
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