Sublime Forum

Zen Coding ( CSS Snippets )

#1

[quote=“sublimator”]Check this out. We should get an implementation going on Sublime.

code.google.com/p/zen-coding/[/quote]

Look at my package, I have some there, I just got used to already lol…

instead of pos:r – I use rel --> position:relative
instead of pos:a – I use abs --> position:absolute
center = text-align:center;
bold = font-weight:bold;

I guess is a matter of preference, but I might end up using zen coding :smile:

0 Likes

ZenCoding plugin
How to install Zen Coding?
#2

Wow!!! That’s cool!

0 Likes

#3

I like it :smile:

0 Likes

#4

Hi Sublimator,

That looks very cool! I write a lot of VHDL and Verilog for hardware design and using these methods this would allow engineers to develop hardware faster and more efficiently.

I’m new to Sublime but I would like to do something similar for VHDL/Verilog.

Is there a plugin your using for Zen Coding? Any other advise would be great.

Thanks,
Dan

0 Likes

#5

regarding Verilog, we have syntax highlight support in Sublime Community Repository: http://www.sublimetextwiki.com/pages/Verilog.html

0 Likes

#6

I did see that verilog syntax hightlighting is supported and I know there is VHDL syntax highlighting for Textmate so I assume that should work with Sublime.

My idea is to use Zen Coding to generate vhdl/verilog source code from customizable templates and snippets that are generated from commands as shown in the demo video below which would add the text for commonly used digital logic functions used in hardware design.

Thanks

0 Likes

#7

Sublimator, sorry, but how to download from there?

0 Likes

#8

Thank you very much! Download and install Tortoise HG, everything works.
I try Zen Coding - very impressive!

0 Likes

#9

Great work, sublimator!

If you don’t mind, i would like to add you to the project committers list on Zen Coding project, so you will be able to upload your plugin and create Wiki-pages with installation instructions.

So, if you intrested, just PM me.

0 Likes

#10

Sublimator, after update ctrl+alt+enter Zen Coding not working. Rolling back to previous version and it’ work again.

0 Likes

#11

Thanks! It works :wink:

0 Likes

#12

[quote=“sublimator”]Dan,

I just put the command on my BB acount, and actually used some OO(
shudder), factoring out a DynamicSnippetBase you can inherit from so
you just need to implement create_snippet(self, abbr, args) as seen here

The view reference is available as self.view but you can always just
use the Base as an example if needs be. In any case you’ll have to
copy/paste the Base into your package. Dependencies between packages
is still an open problem.

Hopefully, it doesn’t have too many bugs as I haven’t thoroughly
checked it.[/quote]

this is great. Thanks, Dan

0 Likes

#13

Sublimator! Zen Coding Pakage is amazing! http://forums.disenteria.ru/style_emoticons/default/mol.gif

0 Likes

#14

awesome job Nick like always! :smile:
IM LOVING IT :slight_smile:

0 Likes

#15

Any documentation on how to use this?

0 Likes

#16

See the zen coding google page… then on sublime just press ctrl+alt+enter and enter ur zen coding pattern :smile:

0 Likes

#17

very impressive nick! well done

0 Likes

#18

[quote=“EJ12N”]

See the zen coding google page… then on sublime just press ctrl+alt+enter and enter ur zen coding pattern :smile:[/quote]

yup tried that and every combination of it and nothing happens, it also seems to have broken sublimes built in snippet completion.

I was expecting to type in html:xt press tab etc. I take it that doesn’t happen?

0 Likes

#19

I’ve opened the ouput panel and when I press your key combination I get:

>>> 
  File "<string>", line 0
    
    ^
SyntaxError: unexpected EOF while parsing
0 Likes

#20

maybe update AAA* ?

0 Likes