ArcGIS Developer Tip #4: How to use the ArcGIS 9.3.1 Visual Studio Snippet Editor

The ArcGIS Snippet Editor is a new feature of the ArcGIS integrated development environment (IDE) that comes with the ArcGIS Desktop and ArcGIS Engine software development kit (SDK) for 9.3.1. 

The snippet editor allows you to create, edit and manage ArcGIS snippets in Visual Studio 2005 or 2008.  It supports both VB.NET and C# code snippets.

Be sure to check out this video as it illustrates how to accomplish the following:

Snippet Editor Manager
Create a snippet (Function, Sub or Statement)
Auto-reference ArcGIS assemblies
Set the product, version and extension
Set title, description and help string
Store in a custom file path location

Snippet Finder
Search and find snippets by key word
Insert snippets into code windows

You'll also find other helpful tips and tricks such as how to set the default snippet editor directory in Visual Studio for a system with Windows Vista.

 

 

Contributions from Don Kemlage, ArcGIS Product Engineer

Published Monday, June 15, 2009 1:21 PM by alaframboise
Filed under: , , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

dkemlage said:

The online version of the help for the new ArcGIS Snipept Editor has been added to the ESRI Resource Centers at:

ArcGIS Desktop

http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/concepts_start.htm

ArcGIS Engine

http://resources.esri.com/help/9.3/ArcGISEngine/dotnet/concepts_start.htm

The help for the ArcGIS Snippet Editor has always existed in the installed version of the .NET SDK's.

June 26, 2009 6:50 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit