vscode-perforce icon indicating copy to clipboard operation
vscode-perforce copied to clipboard

Linking custom tools

Open Harsharma2308 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I still have to trigger via p4v, a testing tool. I usually trigger it via Perforce->Tools. It was added via Tools->Manage Tools->Custom Tools. Describe the solution you'd like

So probably a way to link tools might be nice. So I can right click a CL and it shows up the custom tools there Describe alternatives you've considered

Additional context

Harsharma2308 avatar May 22 '23 23:05 Harsharma2308

Hi,

(I see the issue has changed since originally created, so will just respond to the newer version)

This is interesting as I didn't know about this custom tools option. It's certainly feasible to add a context menu to run a custom command with a specific changelist as input.

However, depending on exactly what you're doing, you might find that a custom task can fulfill your needs.

Though you won't get a context menu, you could invoke a task while you have one of the files open in the editor, and use the changelist information for that file. There is a small example in the readme that just prints out the changelist of the open file. You can also bind keyboard shortcuts to the task etc.

mjcrouch avatar May 23 '23 08:05 mjcrouch