SMART-Snippets icon indicating copy to clipboard operation
SMART-Snippets copied to clipboard

Sometimes the path uses an underscore, and at other times a hyphen. In short this leads to failure.

Open llanverygranger opened this issue 12 years ago • 2 comments

Reproduce issue:

  1. I downloaded the zip file for this repository.
  2. I unzipped the zip file.
  3. I found a folder called SMART-Snippets (Note the hyphen).
  4. I copied this folder to the Packages folder.
  5. In the Command Palette I type 'smart' and no 'SMART Snippet' items appear, and an error about the path appears saying that SMART_Snippets is not found.
  6. I rename SMART-Snippets to SMART_Snippets, the correct items appear in the Command Palette now, but when I try and list the Smart snippets I get an error saying that the path SMART-Snippets is required! This is an infinite loop I fear ;-)

Any chance of investigating?

llanverygranger avatar Feb 13 '13 08:02 llanverygranger

haha whoops. I'll look into this error soon. I plan on giving my plugins some attention (and porting to ST3) as soon as I finish the current project that I'm working on. My current project is winding down so hopefully I'll get to this soon.

liamcain avatar Feb 13 '13 19:02 liamcain

On 13 Feb 2013, at 19:27, Liam Cain [email protected] wrote:

haha whoops. I'll look into this error soon. I plan on giving my plugins some attention (and porting to ST3) as soon as I finish the current project that I'm working on. My current project is winding down so hopefully I'll get to this soon.

— Reply to this email directly or view it on GitHub.

Thanks. For now the work around is to have two copies of the files, one with a hyphen and one with an underscore ;-) I appreciate your great plugin, so thanks for developing it :-) Mike

llanverygranger avatar Feb 14 '13 01:02 llanverygranger