How to: Modify Existing Snippets

IntelliSense Code Snippets are XML files with a .snippet file name extension that can be easily modified using any XML editor, including Visual Studio 2005.

To modify an existing IntelliSense Code Snippet

  1. Use the Code Snippets Manager to locate the snippet that you want to modify.

  2. Copy the path of the code snippet to the clipboard and click OK.

  3. On the File menu, click Open, and click File.

  4. Paste the snippet path into the File location box and click OK.

  5. Modify the snippet.

  6. On the File menu, click Save. You must have write access to the file to save it.

See Also

Tasks

How to: Create a New Snippet with Imports and References

How to: Assign a Shortcut Name to a Snippet

How to: Share Snippets with other Developers

How to: Create a Basic Code Snippet

Concepts

Visual Basic IntelliSense Code Snippets

Best Practices for Using IntelliSense Code Snippets

Code Snippets Schema Reference

Reference

Creating and Using IntelliSense Code Snippets