Skip to content

Commit c3d58ce

Browse files
authored
Update features.rst
1 parent 6547c86 commit c3d58ce

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/user/features.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,32 @@ Code Snippet Explorer
55
---------------------
66

77
On the left side bar of the JupyterLab, you can click the snippet icon (</>) to open/close the code snippet explorer that contains all the saved snippets as below.
8-
You can scroll/resize code snippet explorer, order the snippets with drag and drop, and manage and search the snippets efficiently.
8+
You can scroll/resize code snippet explorer, order the snippets with drag and drop, and manage and search the snippets.
99

1010
.. image:: ../../Design/CodeSnippetExtensionPanel.png
1111
:align: center
1212

1313
Creation of a New Snippet
1414
-------------------------
1515

16-
There are several ways to create a new snippet.
16+
There are several ways to create a new snippet.
17+
1718
1. Highlight lines of code and right click (or use keyboard shortcut (cmd-shift-A or ctrl-shift-A)) to save the code as a snippet. Or, you can select cell(s) and right click (or use keyboard shortcut (cmd-shift-A or ctrl-shift-A)) to save content as a snippet. Then, you will see the "Save As Code Snippet" option in JupyterLab context menu as below:
1819

1920
.. image:: ../../Design/right_click.png
2021
:align: center
2122

22-
Then, clicking the option will open the dialog as below where you can input name, description, language, tags, and codes of a snippet.
23+
Clicking the option will open the dialog as below where you can input name, description, language, and tags of the snippet.
2324

2425
.. image:: ../../Design/code_snippet_input_dialog.png
2526
:align: center
2627

2728
2. More easily, just drag notebook cell(s) to the code snippet explorer on the left to create a new snippet. It will also open the dialog as above for your inputs.
2829

29-
.. image:: ../../Design/create_from_scratch.png
30-
:align: center
30+
3. Hit the plus button next to the search bar (refer to `Search of Code Snippets`_) to create a new snippet from scratch.
3131

32-
3. Hit the plus button next to the search bar (refer to `Search of Code Snippets`_) to create a new snippet if you want to create a snippet not from the notebook cell.
32+
.. image:: ../../Design/create_from_scratch.png
33+
:align: center
3334

3435
Use of Code Snippets
3536
--------------------

0 commit comments

Comments
 (0)