Allow external tools to work off items in the project view

Are you missing a feature? Request its implementation here.
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Allow external tools to work off items in the project view

Post by sanderson »

I love using the external tools options. One of the things I use it for is checking files out of perforce. Right now I open the file in the editor, then select the external tool for checking the file out. What I'd like to be able to do is select 4 or 5 files, or a directory, in the project view, and check them out en-masse.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Allow external tools to work off items in the project view

Post by sorin_ristache »

Hello,

There is the ${pd} editor variable (Project Directory) which I think you can use together with a file pattern for the project files that you want to specify in the command line of an external tool, for example: ${pd}/subdir/*.xml. We will add an editor variable for the current selection of the Project view which can include one file/directory or a set of files/directories.


Regards,
Sorin
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Re: Allow external tools to work off items in the project view

Post by sanderson »

Great, I'll look forward to the new variable. Using ${pd} for my case doesn't really work.

Regarding ${pd}, though, is that the directory of the project file, or the file selected in the project view?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Allow external tools to work off items in the project view

Post by sorin_ristache »

${pd} represents the directory of the project file.


Regards,
Sorin
Post Reply