ArcGIS Snippet Finder


This feature is no longer available. It was removed for the 10.3 release of the ArcObjects .NET SDK.
Summary
The ArcGIS Snippet Finder is a feature of the ArcGIS integrated development environment (IDE) integration product that comes with the ArcGIS for Desktop and ArcGIS Engine software development kit (SDK). It enables ArcGIS developers to find and insert ArcGIS snippets into a Visual Studio project using keyword searches.

In this topic


About the ArcGIS Snippet Finder

As the number of ArcGIS snippets increases, it becomes more difficult to sort through the necessary code to find what you want. By using the ArcGIS Snippet Finder, you can easily and quickly locate the necessary ArcGIS snippet to insert into the Visual Studio code editor.
Additionally, developers use different coding styles when creating projects. Some developers like to use fully qualified assembly names, while others prefer a more terse style of variable naming. Some developers like to have well-documented code enabling project longevity, while others prefer compact code without comment clutter. The ArcGIS Snippet Finder allows you to customize how code is inserted into the Visual Studio code editor.

Using the ArcGIS Snippet Finder

The following is the typical workflow when using the ArcGIS Snippet Finder:
  1. Right-click and select ArcGIS Snippet Finder inside the Visual Studio code editor window (only C# and Visual Basic .NET are currently supported). See the following screen shot:

  1. Click the drop-down arrow to select the group of ArcGIS snippets you want to search, type the keyword or keywords in the Keyword(s) text box, then click Search or press Enter. For search Boolean criteria, see Refining searches. See the following screen shot:


  2. To view the code, click the snippet title in the snippets that meet criteria section. The specified keyword or keywords are highlighted in the Snippet text section to assist you in evaluating whether a particular snippet is of interest. See the following screen shot:

  1. Click Insert Code to add the ArcGIS snippet into the Visual Studio code editor. See the following screen shot:



See Also:

Refining searches
Code insertion options
Adding user-specified directories
ArcGIS Snippet Editor




Development licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced
Engine Developer Kit Engine