liamcain / SMART-Snippets

A Sublime Text plugin for creating smart, dynamic snippets
46 stars 7 forks source link

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

Open llanverygranger opened 11 years ago

llanverygranger commented 11 years ago

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?

liamcain commented 11 years ago

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.

llanverygranger commented 11 years ago

On 13 Feb 2013, at 19:27, Liam Cain notifications@github.com 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