Author |
Topic  |
|
timepp
New Member

7 Posts |
Posted - Jun 23 2005 : 10:13:23 PM
|
Can VA add a command(or a button, i think they are identical :) ). when I invoke this command, VA will open a explorer window with the directory which stores my current project? -- This is very useful I think. (I think maybe you can open the directory which .sln resides. I have wrote a plugin which can do this but I prefer to use functions which come from VA.)
Thank you. |
|
feline
Whole Tomato Software
    
United Kingdom
19105 Posts |
Posted - Jun 24 2005 : 2:41:51 PM
|
how does your plugin handle a workspace containing several projects? if you have already thought about this i can pass on the thinking. i have seen this request before so it is probably time to raise a case for this.
would you be willing to post your plugin to codeproject.com, or somewhere else, as a temporary work around for those who are interested? |
zen is the art of being at one with the two'ness |
 |
|
WannabeeDeveloper
Tomato Guru
    
Germany
775 Posts |
Posted - Jun 24 2005 : 4:22:42 PM
|
I have this for ages in my VS.
Tools -> External...
Simply create a new external tool. Since I do not know the exact english terms, heres a screenshot of the german version:

|
 |
 |
|
timepp
New Member

7 Posts |
Posted - Jun 26 2005 : 9:56:36 PM
|
Thank you WannabeeDeveloper, I was not able to think out this good idea, you are so clever.
feline, I think "WannabeeDeveloper" has a well done! |
 |
|
feline
Whole Tomato Software
    
United Kingdom
19105 Posts |
Posted - Jun 28 2005 : 2:56:19 PM
|
oh i agree a very good and simple solution. |
zen is the art of being at one with the two'ness |
 |
|
PatLuja
Tomato Guru
    
Belgium
416 Posts |
Posted - Jun 30 2005 : 03:36:51 AM
|
Hello all,
I also think this is a very good idea. I've not only done this for the Explorer, but also for the Command Prompt.
Since "$(TargetDir)" points to the Release or Debug directory, I prefer using "$(TargetDir)\\..".
Thanks for the good question (timepp) and for the good solution (WannabeeDeveloper).
With kind regards, Patrick Luja
P.S. In English, this menu item is called "Tools|External Tools...". |
 |
|
WannabeeDeveloper
Tomato Guru
    
Germany
775 Posts |
Posted - Jun 30 2005 : 04:23:11 AM
|
quote: Originally posted by patluja
Since "$(TargetDir)" points to the Release or Debug directory, I prefer using "$(TargetDir)\\..".
There are many Makros available through the small dropdown-button in the dialog. As far as I can recall, there is $(ProjectDir), $(SolutionDir) etc. choseable.
The Only Problem I have with this one is when you have opened up a h/cpp-file not belonging to the current project, it opens up the Explorer with my "My Documents" Folder showing. So, VS doesn't seem to be able to determine the solution/project for the active file if it doesn't belong to the current open project.
|
 |
 |
|
Racey
Senior Member
  
USA
25 Posts |
Posted - Jun 30 2005 : 11:57:25 AM
|
VS6 is slightly different. It's Tools->Customize->Tools...
For the argument and directory, there's an option for $(FileDir) that will open explorer to the directory for an opened file. |
 |
|
|
Topic  |
|