Question: Which is a valid way to create a code snippet?
- Right-click the selected code and select Add to Snippets
- Drag the code into the snippets view
- Click Source -> Snippets -> Create Snippet
- With the code selected, click the + button in the Snippets view
Answer: The correct answer of the above question is Option A:Right-click the selected code and select Add to Snippets