Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to save a cell as a snippet #29

Open
ianhi opened this issue Sep 9, 2020 · 2 comments
Open

Option to save a cell as a snippet #29

ianhi opened this issue Sep 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@ianhi
Copy link

ianhi commented Sep 9, 2020

Maybe from the notebook context menu? Or as the first item on the snippets menu item.

@jtpio
Copy link
Member

jtpio commented Mar 10, 2021

Sounds good, thanks @ianhi for the suggestion 👍

I guess this could be a command, which can then be added to the palette, menu and context menu if these services are available,

@jtpio jtpio added the enhancement New feature or request label Mar 10, 2021
@darpan097
Copy link

darpan097 commented Mar 14, 2025

Hello,

If this issue is about allowing users to manage their own snippets, we implemented a different solution for it at our organisation, and maybe you will also find it interesting.
We basically allow users to manage a snippets folder with a preset name (User Snippets is the default) in their home folders. Snippets from this folder are loaded if it is found. This also allows them to organise the snippets nicely in sub folders etc.
I also added a setting for the extension which allows you to set the name of this default folder.

Here is a GIF of a working version:
Image

I can make a separate PR for this if you are interested. But first it's good to complete #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants