Formosa1 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Advanced Selector Logic only works with pre made snippets #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy a existing Snippet (script:src) for example.
2. Rename it to something shorter. (eg: ssrc)
3. Try to use it this way: ssrc*3

What is the expected output?
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

 What do you see instead?
<ssrc></ssrc><ssrc></ssrc><ssrc></ssrc>

What version of the product are you using? On what operating system?
TextMate 1.5.9 (1510)
Snow Leopard 10.6.2
Zen Coding 1.3.1

Please provide any additional information below.
It works just fine with the standard abbreviations. 

script:src*3 works just fine.
ssrc->tab works too.

Is there a config file I have to add my new abbreviations to, so that it works 
just like the 
command that shipped with zen-coding? Thank you very much in advance! :)

Original issue reported on code.google.com by bmedi...@gmail.com on 17 Jan 2010 at 9:00

GoogleCodeExporter commented 9 years ago
Looks like you've added standard TextMate snippet, but ZC uses it's own, 
located in 
Support/zencoding/zen_settings.py in bundle. I plan to make ZC use TM snippets 
in the next release, but I'm 
afraid the bundle will be overbloated with snippets

Original comment by serge....@gmail.com on 18 Jan 2010 at 8:29

GoogleCodeExporter commented 9 years ago
That worked perfectly, thanks! 

Maybe you could add a new menu-group for the snippets that will be used for the 
advanced selector logic. But 
that would mean either losing the old menus or duplicating all snippets. 

Original comment by bmedi...@gmail.com on 18 Jan 2010 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by serge....@gmail.com on 15 Feb 2010 at 12:36