Home arrow Support arrow Knowledge Base arrow Installing SmartInspect Code Templates and Snippets

Installing SmartInspect Code Templates and Snippets

Published on Saturday, 14. January 2006
Products: SmartInspect Professional, SmartInspect Professional Trial

Beginning with version 1.3, SmartInspect comes with code templates and snippets for a variety of IDEs. Read this article and learn how to install these templates and snippets into your IDE of choice.

Microsoft Visual Studio 2005 (C# Language)

The following steps integrate the SmartInspect C# code snippets into Visual Studio 2005.

  • Open the IDE
  • Open the Code Snippets Manager from the Tools menu
  • Choose the Visual C# language and click the Import button
  • Select the SmartInspect C# code snippets which can be found in the templates\vs\2005\csharp directory of your SmartInspect installation directory and press the Open button
  • Then choose a location for the code snippets (for example, the My Code Snippets directory) and press Finish

Microsoft Visual Studio 2005 (Visual Basic .NET Language)

The following steps integrate the SmartInspect Visual Basic .NET code snippets into Visual Studio 2005.

  • Open the IDE
  • Open the Code Snippets Manager from the Tools menu
  • Choose the Visual Basic language and click the Import button
  • Select the SmartInspect Visual Basic .NET code snippets which can be found in the templates\vs\2005\vb.net directory of your SmartInspect installation directory and press the Open button
  • Then choose a location for the code snippets (for example, the My Code Snippets directory) and press Finish

Borland Delphi 7

The following steps integrate the SmartInspect Delphi code templates into Borland Delphi 7.

  • Open the IDE
  • Choose the Editor Options from the Tools menu and open the Source Options page
  • Choose Pascal as source file type and click the Edit Code Templates button
  • Then, in the following dialog, click the Import button and choose the templates\delphi\7\SmartInspect.dci file of your SmartInspect installation directory
  • Click the Open button to leave the Open dialog and press OK

Borland Delphi 8 for .NET

The following steps integrate the SmartInspect Delphi for .NET code templates into Borland Delphi 8 for .NET.

  • Open the IDE
  • Choose the Options from the Tools Menu
  • Open the Editor Options|Source Options page
  • Choose Pascal as source file type and click the Edit Code Templates button
  • Then, in the following dialog, click the Import button and choose the templates\delphi\8\SmartInspect.dci file of your SmartInspect installation directory
  • Click the Open button to leave the Open dialog and press OK

Borland Delphi 2005 (C# Personality)

The following steps integrate the SmartInspect C# code templates into Borland Delphi 2005.

  • Open the IDE
  • Choose the Options from the Tools Menu
  • Open the Editor Options|Source Options page
  • Choose C# as source file type and click the Edit Code Templates button
  • Then, in the following dialog, click the Import button and choose the templates\delphi\2005\csharp\SmartInspect.dci file of your SmartInspect installation directory
  • Click the Open button to leave the Open dialog and press OK

Borland Delphi 2005 (Delphi Win32 Personality)

The following steps integrate the SmartInspect Delphi Win32 code templates into Borland Delphi 2005.

  • Open the IDE
  • Choose the Options from the Tools Menu
  • Open the Editor Options|Source Options page
  • Choose Pascal as source file type and click the Edit Code Templates button
  • Then, in the following dialog, click the Import button and choose the templates\delphi\2005\delphi\SmartInspect.dci file of your SmartInspect installation directory
  • Click the Open button to leave the Open dialog and press OK

Please note: It is not possible to have the Delphi Win32 and Delphi for .NET code templates integrated into Borland Delphi 2005 at the same time. You can only integrate one of them, either the Delphi Win32 or the Delphi for .NET code templates.

Borland Delphi 2005 (Delphi for .NET Personality)

The following steps integrate the SmartInspect Delphi for .NET code templates into Borland Delphi 2005.

  • Open the IDE
  • Choose the Options from the Tools Menu
  • Open the Editor Options|Source Options page
  • Choose Pascal as source file type and click the Edit Code Templates button
  • Then, in the following dialog, click the Import button and choose the templates\delphi\2005\delphi.net\SmartInspect.dci file of your SmartInspect installation directory
  • Click the Open button to leave the Open dialog and press OK

Please note: It is not possible to have the Delphi Win32 and Delphi for .NET code templates integrated into Borland Delphi 2005 at the same time. You can only integrate one of them, either the Delphi Win32 or the Delphi for .NET code templates.

Borland Developer Studio 2006 (C# Personality)

In order to benefit from the SmartInspect C# live templates for Borland Developer Studio 2006, you need to copy the XML files located in the templates\bds\2006\csharp directory of your SmartInspect installation to one of the following folders:

  • The code_templates\csharp directory of your Borland Developer Studio 2006 Application Data directory (recommended). The Borland Developer Studio 2006 Application Data directory can usually be found under Documents and Settings\Local Settings\Application Data\BDS\4.0.
  • The Objrepos\code_templates\csharp directory of your Borland Developer Studio 2006 installation directory (copying files to this directory usually requires Administrator rights)

Borland Developer Studio 2006 (Delphi Win32 Personality)

In order to benefit from the SmartInspect Delphi Win32 live templates for Borland Developer Studio 2006, you need to copy the XML files located in the templates\bds\2006\delphi directory of your SmartInspect installation to one of the following folders:

  • The code_templates\delphi directory of your Borland Developer Studio 2006 Application Data directory (recommended). The Borland Developer Studio 2006 Application Data directory can usually be found under Documents and Settings\Local Settings\Application Data\BDS\4.0.
  • The Objrepos\code_templates\delphi directory of your Borland Developer Studio 2006 installation directory (copying files to this directory usually requires Administrator rights)

Please note: It is not possible to have the Delphi Win32 and Delphi for .NET live templates integrated into Borland Developer Studio 2006 at the same time. You can only integrate one of them, either the Delphi Win32 or the Delphi for .NET live templates.

Borland Developer Studio 2006 (Delphi for .NET Personality)

In order to benefit from the SmartInspect Delphi for .NET live templates for Borland Developer Studio 2006, you need to copy the XML files located in the templates\bds\2006\delphi.net directory of your SmartInspect installation to one of the following folders:

  • The code_templates\delphi directory of your Borland Developer Studio 2006 Application Data directory (recommended). The Borland Developer Studio 2006 Application Data directory can usually be found under Documents and Settings\Local Settings\Application Data\BDS\4.0.
  • The Objrepos\code_templates\delphi directory of your Borland Developer Studio 2006 installation directory (copying files to this directory usually requires Administrator rights)

Please note: It is not possible to have the Delphi Win32 and Delphi for .NET live templates integrated into Borland Developer Studio 2006 at the same time. You can only integrate one of them, either the Delphi Win32 or the Delphi for .NET live templates.

Borland Developer Studio 2006 (C++ Personality)

In order to benefit from the SmartInspect C++ live templates for Borland Developer Studio 2006, you need to copy the XML files located in the templates\bds\2006\cpp directory of your SmartInspect installation to one of the following folders:

  • The code_templates\c directory of your Borland Developer Studio 2006 Application Data directory (recommended). The Borland Developer Studio 2006 Application Data directory can usually be found under Documents and Settings\Local Settings\Application Data\BDS\4.0.
  • The Objrepos\code_templates\c directory of your Borland Developer Studio 2006 installation directory (copying files to this directory usually requires Administrator rights)

Eclipse 3.x

The following steps integrate the SmartInspect Java code templates into Eclipse 3.x.

  • Open the IDE
  • Choose Preferences from the Window menu
  • Open the Java|Editor|Templates page
  • Click the Import button and select the XML files from the templates\eclipse\3.x directory of your SmartInspect installation
  • Finally press OK to leave the Preferences dialog

« Back to overview

Support
We provide support over different channels: