Click here to Skip to main content
15,891,136 members
Articles / Desktop Programming / MFC
Article

Cleaning Directories Add-In for Visual C++

Rate me:
Please Sign up or sign in to vote.
3.80/5 (5 votes)
21 Jan 20042 min read 80.6K   1.2K   18   15
Cleaning the output directories' junk files.

DevPlus Settings Dialog

Introduction

The add-in presented in this article is intended to solve the problem of the uncleaned output directories. Working intensively on several different projects, you will surely increase the volume of occupied disk space. This may result in hundreds of MB of stored unused data on your machine. So, why should you keep all the junk when you no longer need it?

Installation

  • Download the installation program and run it
  • Choose "Tools/Customize.../Add-ins and Macro Files" from DevStudio menu and browse to the installation directory, selecting DevPlus.dll

How to use it

After installation, you will see a new toolbar with two buttons:

Settings

In the dialog box you can enable or disable some options:

  • Open simultaneously the h and cpp files when none of them have been previously opened
  • Clean the output directory when closing workspace; this is the most attractive one because you may forget about checking those directories on finishing the work
  • Keeping some files away from the cleaning process; this is to be done by specifying the files' extension. The right side list contains the uncleanable files' extensions and the left side one is just a storage.

    For example, having EXE and DLL in the right side list will result in cleaning all the files in the output directories except *.exe and *.dll files

Clean

This one will clean the directories on the spot, as specified in the Settings box.

Final

The only directories you may clean are the well known Debug, Release... The settings are all registry saved.

Updated

  • August 9, 2002
    • Bug fixed
  • September 18, 2002
    • New button on the toolbar, opening the pair of the current h or cpp file by a click.
  • June 23, 2003
    • You may insert text from clipboard with the Insert Formatted button. This option is appropriate if you need to use large texts - as constants - with many new line characters.
  • January 9, 2004
    • Bug fixed.
    • By pressing the Search Selected button, the currently selected text will be added to the clipboard and will be searched in the current document. If no selection made, the text in the clipboard will be searched.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Europe Europe
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionQues about Toolbar name?? Pin
Jetli Jerry2-Mar-05 19:12
Jetli Jerry2-Mar-05 19:12 
AnswerRe: Ques about Toolbar name?? Pin
Hans Ruck2-Mar-05 22:36
Hans Ruck2-Mar-05 22:36 
Generalusefull Pin
fioresoft29-Jan-04 18:25
fioresoft29-Jan-04 18:25 
GeneralAlternative (no Add-in) Pin
Geert Delmeiren18-Sep-02 22:12
Geert Delmeiren18-Sep-02 22:12 
GeneralRe: Alternative (no Add-in) Pin
Hans Ruck18-Sep-02 22:47
Hans Ruck18-Sep-02 22:47 
GeneralBuild->Batch Build -> Clean Pin
Alex Cramer13-Aug-02 17:44
Alex Cramer13-Aug-02 17:44 
QuestionVS.NET? Pin
Domenic Denicola10-Aug-02 10:01
Domenic Denicola10-Aug-02 10:01 
AnswerRe: VS.NET? Pin
Hans Ruck11-Aug-02 0:31
Hans Ruck11-Aug-02 0:31 
AnswerRe: VS.NET? Pin
Daniel 'Tak' M.23-Jun-03 6:26
Daniel 'Tak' M.23-Jun-03 6:26 
GeneralRe: VS.NET? Pin
Domenic Denicola23-Jun-03 16:21
Domenic Denicola23-Jun-03 16:21 
GeneralWonderful! Pin
Henry Jacobs9-Aug-02 11:43
Henry Jacobs9-Aug-02 11:43 
GeneralI love it :-D Pin
ViolaCase9-Aug-02 1:39
ViolaCase9-Aug-02 1:39 
GeneralJust a note... Pin
Andreas Saurwein8-Aug-02 9:51
Andreas Saurwein8-Aug-02 9:51 
... there is another nifty tool on CP that does more or less the same but from the Windows Explorer - Michael Dunn's DirClean[^]



int x=2, y=6; 
x^=y^=x^=y; // whats the content of x and y now?

GeneralRe: Just a note... Pin
Henry Jacobs9-Aug-02 4:37
Henry Jacobs9-Aug-02 4:37 
GeneralRe: Just a note... Pin
Black Horus9-Aug-02 12:45
Black Horus9-Aug-02 12:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.