Fragments can also be attributed to the way snippets are organized. You can create tabs inside a snippet, for example, to create different versions of snippets or when a snippet consists of different languages.
Adding a Fragment
Follow one of the following steps:
- Select "File" > "New Fragment" from the menu bar
- Click "+" button on the top right corner of the editor.
- Press Cmd+T on macOS or Ctrl+T on Windows or Linux.
Renaming and Deleting
Call the context menu by right-clicking on the fragment and selecting "Rename" or "Delete".
The deleted fragment cannot be recovered.