From 658bf9a258a3226f3be6f9db0b1e2733ba6cad0d Mon Sep 17 00:00:00 2001 From: nitind Date: Thu, 13 Apr 2006 07:14:24 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'v200604130316'. --- .../topics/tsrcedt015.html | 80 ---------------------- 1 file changed, 80 deletions(-) delete mode 100644 docs/org.eclipse.wst.sse.doc.user/topics/tsrcedt015.html (limited to 'docs/org.eclipse.wst.sse.doc.user/topics/tsrcedt015.html') diff --git a/docs/org.eclipse.wst.sse.doc.user/topics/tsrcedt015.html b/docs/org.eclipse.wst.sse.doc.user/topics/tsrcedt015.html deleted file mode 100644 index 9f04898f13..0000000000 --- a/docs/org.eclipse.wst.sse.doc.user/topics/tsrcedt015.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -Adding items to snippets drawers - - - -

Adding items to snippets drawers

-

This documentation describes how to add a new item to a drawer -in the Snippets view.

To add new items to an existing snippets drawer:
-
  1. Do one of the following choices: -
    - - - - - - - - - - - - - -
    To start with this:Do this:
    An empty item that you can editRight-click anywhere in an existing drawer, select Customize, -and click New > New Item.
    Existing text pasted into a new item in an existing -drawerCopy or cut text to the clipboard. In the Snippets view, -right-click anywhere in an existing drawer and click Paste.
    Existing text pasted into a new item in a new or existing -drawerSelect the text, right-click, click Add to -Snippets, specify the name of the drawer in the Snippets view -to which you want to add the item, and click OK.
    -
    - A Customize Palette window -appears.
  2. -
  3. Type a name for the new item, and, optionally, provide a description. The value that you type in the Name field -will appear next to the item's icon in the Snippets view.
  4. -
  5. To include in the Template Pattern field -a variable that you have already defined, click Insert Variable -Placeholder. A variable placeholder is a marker that, -when tagging is inserted into the active file, will be replaced by the value -that is entered into the Insert Template:Item_name dialog -at insertion time. Clicking the Insert Variable Placeholder button -or typing Ctrl+Space activates a pop-up in the text area that prompts you -with the correct sequences to create a marker for the variable. For -example, if you create two variables named uri and prefix, -and create variable placeholders for both, the template pattern might look -like this:
    <%@ taglib uri="${uri}" prefix="${prefix}" %>
    -
  6. -
  7. Click OK.
  8. -
-
The new item will be added to the list of items in the appropriate -drawer.
-
-

Related concepts
-Snippets view
-

-

Related tasks
-Editing with snippets - overview
-Adding snippets drawers
-Editing snippet items
-Deleting or hiding snippet items or -drawers
-

-
- - \ No newline at end of file -- cgit v1.2.3