snippets icon indicating copy to clipboard operation
snippets copied to clipboard

Want to nest snippets into a folder structure

Open mattma opened this issue 10 years ago • 3 comments

I want to create a snippets package with several nested folder structure.

snippets
    -- javascript
            -- my-snippet-code.cson

Currently it did not work, by exam the source code, it is default to the folder path snippets. How could I override the snippet package prototype getUserSnippetsPath function to hack the path variable to be one or two level deep into the snippets folder?

mattma avatar Mar 13 '14 20:03 mattma

this, plus a setting for which folder to check for .cson files would be great, one feature missing from snippets at the moment is being able to track them in a git repo to share between computers. Unless I'm just missing something?

JayCarney avatar Jan 30 '17 01:01 JayCarney

Any update if this issue will be addressed?

lmajano avatar Jul 12 '17 03:07 lmajano

No update. However, we would merge a well-designed PR that implemented this functionality.

50Wliu avatar Jul 13 '17 01:07 50Wliu