ArcGIS Snippet Finder


Summary The ArcGIS Snippet Finder is a feature of the ArcGIS integrated development environment (IDE) integration product that comes with the ArcGIS 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, developers 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 other developers 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 developers 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 which group of the 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
ArcView ArcView
ArcEditor ArcEditor
ArcInfo ArcInfo
Engine Developer Kit Engine Runtime