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

Add window for editing snippet files #18

Open
davidbgonz opened this issue May 22, 2023 · 1 comment
Open

Add window for editing snippet files #18

davidbgonz opened this issue May 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@davidbgonz
Copy link

First off, thank you for making this extension, I can never remember my snippet names.

I do a lot of adjustments of my snippets and heavily utilize the edit_snippet_files call. I have a possible feature request. It would be nice to have a telescope picker for selecting snippet files to edit when using edit_snippet_files.

A good starting place might be to have the default window show the snippet files associated with the current file in the buffer, then an additional option to show all snippet files. Since the snippet file locations can be quite different between vscode, snipmate, and lua, I'm not quite sure how the config of this would work. Would the extension be using the luasnip configs we would be setting for the snippet file location?

@benfowler
Copy link
Owner

This plugin was designed to be a simple knockoff of the telescope-ultisnips plugin, so at first blush, this would be outside the scope of what I'm trying to achieve with this plugin.

That said, I understand the utility of something like this, because I'm always messing with my snippets, and it is a faff to find them, then reloading Neovim to pick them up (am I doing this right? 😆)

I'm a bit slammed with work and study at the moment, so if somebody would like to do a quick spike/investigation of how this might work in the UI and in code, we can put something together?

@benfowler benfowler added the enhancement New feature or request label Oct 5, 2023
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

2 participants