Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Cleaning Directories Add-In for Visual C++

0.00/5 (No votes)
21 Jan 2004 1  
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