"Code Smells" is a funny add-on for Embarcadero Delphi that plays a fart every time the compilation fails. 😄
It has been built for ITDevConX Delphi Conference as an example of how you can create a simple but functional expert for the Delphi IDE using the Open Tools API.
The original idea, the audio files and the fart descriptions has been taken from the Farticus plugin made for Visual Studio by Mads Kristensen.
- Clone the repository or download the source code
- Open the project file (CodeSmells.dproj) in the Delphi IDE
- Right click the project file and select Build
- If build is successful, right click again the project file and select Install
- Close the project
You can enable/disable and configure the tool from the Options dialog available under the Tools|Code Smells Options... menu.
Continue to work in Delphi... everytime you compile your project, in case of errors you will hear a rather annoying noise. Have fun!!
Thanks to Ya-Zahra for Delphi 7 version!