Home Download Buy Blog Forum Support

Installation guide for Zencoding into SublimeText 2

Installation guide for Zencoding into SublimeText 2

Postby nicolulu on Tue Jul 05, 2011 9:05 am

Hello,

Despite all threads and wiki about installation of Zencoding, I can't find any clear and simple guide to install it as a plugin for sublimeText 2.
Instructions given on .txt file from the .zip package archive is a bit... light and useless.

I'm very insterested in this plugin, but I can't find a way to make it work on my sublimeText editor.

Could someone make an quick installation guide / notice for these different operating systems ?
- Windows XP
- Windows vista / Windows 7 (x64)
- Windows vista / Windows 7 (x86)
- Mac OSX

Thanks a lot !
Cheers, Nicolas
nicolulu
 
Posts: 4
Joined: Tue Jul 05, 2011 8:56 am

Re: Installation guide for Zencoding into SublimeText 2

Postby iamntz on Tue Jul 05, 2011 10:00 am

Press win+r (win 7 and win vista, maybe win xp too, i'm not using ancient software :D ) and type: %appdata%\Sublime Text 2\Packages
Alternatively you can open the editor and go to Preferences->browse packages. In osx there is a shortcut similar to this but I don't remember it how is called (menu bar-> first item (i think is file?) -> preferences -> browse packages)

You just extract the content of the archive into Packages, to have a structure like this:
Code: Select all
Packages/zencoding/scripts
Packages/zencoding/zencoding
Packages/zencoding/zenmeta.py


and so on. Restart the editor and enjoy.
iamntz
 
Posts: 908
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Installation guide for Zencoding into SublimeText 2

Postby nicolulu on Tue Jul 05, 2011 4:27 pm

Thanks for your reply.
I've already tried your method, without any success.

These files are correctly installed on the package folder (x64) :
Code: Select all
Packages/ZenCoding/zencoding/
Packages/ZenCoding/A1zen.py
Packages/ZenCoding/A1zen.pyc
Packages/ZenCoding/Default.sublime-keymap
Packages/ZenCoding/dynamicsnippets.py
Packages/ZenCoding/dynamicsnippets.pyc
Packages/ZenCoding/initzen.py
Packages/ZenCoding/initzen.pyc
Packages/ZenCoding/orphan
Packages/ZenCoding/README.txt
Packages/ZenCoding/tags
Packages/ZenCoding/zc.py
Packages/ZenCoding/zc.pyc


In windows 7 (x64), using the "Preferences->browse packages" fonctionnality just opens the package file in sublimeText, without seeming to install anything ?

Another question : once installed, does the plugin needs to be activated or something ?

Thanks :)
nicolulu
 
Posts: 4
Joined: Tue Jul 05, 2011 8:56 am

Re: Installation guide for Zencoding into SublimeText 2

Postby iamntz on Tue Jul 05, 2011 4:53 pm

restart the editor. Should be ok.
iamntz
 
Posts: 908
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Installation guide for Zencoding into SublimeText 2

Postby nicolulu on Fri Jul 08, 2011 12:35 pm

Hello,

I'm really not familiar with this repo system. How to install this (no file to download on https://bitbucket.org/sublimator/sublime-2-zencoding) ?
Is there a file to download, or a repository path to add into sublimeText ?

Thanks for your help :)
nicolulu
 
Posts: 4
Joined: Tue Jul 05, 2011 8:56 am

Re: Installation guide for Zencoding into SublimeText 2

Postby guillermooo on Fri Jul 08, 2011 12:38 pm

If sublimator can't himself, I'll try to add some installation instructions to the readme file during the weekend.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: Installation guide for Zencoding into SublimeText 2

Postby iamntz on Fri Jul 08, 2011 12:39 pm

@nicolulu: there is a "download" tab. https://bitbucket.org/sublimator/sublim ... et/tip.zip here is the direct link :)
iamntz
 
Posts: 908
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Installation guide for Zencoding into SublimeText 2

Postby nicolulu on Fri Jul 08, 2011 12:49 pm

@guillermooo : Nice, thanks a lot, from all newbies like me ;)

@iamntz : Thanks, I was looking for a button to download. Bitbucket interface is not really user friendly...
nicolulu
 
Posts: 4
Joined: Tue Jul 05, 2011 8:56 am

Re: Installation guide for Zencoding into SublimeText 2

Postby sublimeisfine on Mon Aug 01, 2011 1:22 am

I can't find any real installation instructions for OSX. I've read this thread and another thread, neither of which truly offer the installation process from start to finish.

I've tried to copy the raw files as they exist into the "packages" directory, restarted ST2 and nothing happened. Since I have no real idea how to follow the instructions using a Python command line, I'm stuck.

Could someone please write out the full instructions for OSX? Thanks!
sublimeisfine
 
Posts: 6
Joined: Mon Aug 01, 2011 1:16 am

Re: Installation guide for Zencoding into SublimeText 2

Postby [-Stash-] on Wed Aug 03, 2011 3:11 pm

This is fantastic, thanks!

However, how do I select lines of text, then wrap them with some ZenCoding goodness?

I'd like to select this:
Code: Select all
one
two
three


Press some key combination - what is it?

Then type in this:
Code: Select all
ul>li*


And end up with this:
Code: Select all
<ul>
   <li>one</li>
   <li>two</li>
   <li>three</li>
</ul>


I can do this just fine with the Notepad++ Zen Coding plugins, but I cant find the key config to do this in ST2.

For reference, I'm using Sublime Text 2 Build 2095 x64 portable edition and sublimator-sublime-2-zencoding-2a9fd316ca93 downloaded today.

Thanks in advance!
[-Stash-]
 
Posts: 6
Joined: Wed Aug 03, 2011 3:06 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests