Create a Code Snippet

In order to define a new Code Snippet, follow the steps below:

  1. Click +Add while on Code Snippets tab. You can select Folder to create a folder to organize your Code Snippets. To create a new locator, select Snippet.
  2. This will open up the New Snippet tab


  3. Fill out the information needed to define your new snippet below and click on the Save button.
    1. Name is the name of your snippet.

    2. Keywords will be used during searching.

    3. Class is the fully qualified path to the Java class developed. 

    4. Dependencies is dependency to any jar file (the developed class file should be bundled in a jar file and uploaded through Repository ->File Uploads) used. 

    5. Data Templates includes all the data templates you want to make available to your snippet.

Related pages