In order to define a new Code Snippet, follow the steps below:
- Click on New Snippet on the +Add while on Code Snippets tab. You You can also select Folder to create a folder to organize your code snippets by clicking on New Folder and entering a name for your folder.
Code Snippets. To create a new locator, select Snippet. - This will open up the New Snippet tab
- Fill out the information needed to define your new snippet below and click on the Save button.
Name is the name of your snippet.
Keywords will be used during searching.
Class is the fully qualified path to the Java class developed.
Dependencies is dependency to any jar file (the developed class file should be bundled in a jar file and uploaded through ArtifactsRepository ->File Uploads) used.
Data Templates includes all the data templates you want to make available to your snippet.