austgl / zen-coding

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

var my_zen_settings #357

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am creating some custom snippets for myself and I have a couple of question:

1. Is there any way to match any file type? Or do I always have to set 
HTML/CSS/JS/PHP etc..

2. Is there any way to make it work with not saved files?

Many Thanks.

Original issue reported on code.google.com by i...@webiqlimited.co.uk on 19 Oct 2012 at 10:43

GoogleCodeExporter commented 8 years ago
1. Depends on your editor.
2. Depends on your editor. Not every one has API for getting current document 
syntax so I have to guess it from file extension.

Original comment by serge....@gmail.com on 25 Oct 2012 at 2:25

GoogleCodeExporter commented 8 years ago
so, if I want to add some abbreviations related to my template engine (like 
Jinja, Smarty or whatever) what is the best place to do it? 
Add them into HTML abbreviations?

Original comment by feti...@gmail.com on 25 Oct 2012 at 10:42

GoogleCodeExporter commented 8 years ago
Yes, you should place it in html syntax

Original comment by serge....@gmail.com on 26 Oct 2012 at 9:11

GoogleCodeExporter commented 8 years ago
is there any description of abbreviation system? l see that I can't create '{%' 
abbr, for example. Also, pipe (|) doesn't place the cursor exactly in that 
place.

Original comment by feti...@gmail.com on 26 Oct 2012 at 12:18

GoogleCodeExporter commented 8 years ago
http://docs.emmet.io/abbreviations/types/
http://docs.emmet.io/customization/snippets/

Original comment by serge....@gmail.com on 26 Oct 2012 at 3:12