How are you doing guys? :) Are you ready for some new stuff?
We are releasing the Snippets 0.8 update today. This version brings some exciting features that we are happy to introduce.
External Editing
Almost everybody of us have the code editor that we use on a daily basis. Why not to take their advantages to edit snippets? Great! Starting with 0.8, you may edit any snippet in your favourite text mate. Thanks to our Twitter followers, we have collected a solid list of text editors that are currently supported by the application:
TextMate, Coda, Espresso, BBEdit, TextWrangler, Xcode IDE, and some others…
They are all included in the menu under toolbar's Edit button.
Note: You may need to customise the toolbar, if the ‘Edit Externally’ button isn't in place.
Scripts + Snippets = Scrippets!
Scrippet is a special package—bundle—that handles snippet items in a pre-defined way. For example, you can share selected snippets on a public source code repository. We have included some Scrippets by default to demonstrate just this:
Note: Scrippet ‘Share via Snipt.org’ is not included by default. You can download it at here and install by simple double-clicking.
How Does It Work?
Scrippets are available via main application menu:
You just select library items to process and click the Scrippet menu item. That's it…
Every Scrippet includes Information file and set of Resources. These resources can be shell scripts, images, HTML, CSS, and JavaScript files:
Information file describes a set of steps to be executed one by one, and every step is a Shell script or HTML page that can handle selected snippets: modify them, send over network, create the new ones etc.
How Good Is It?
Well… In the future, anyone can make a lot of scrippets with almost unlimited functionality. HTML-screens are WebKit-driven so they support full-featured HTML and JavaScript. Shell scripts can be written in Ruby, Python, Perl, or Bash. And it is wrapped in a simple and powerful Cocoa UI. This must be a very promising platform.
Where to Get?
Scrippets can do almost everything, can be made by everybody and shared with everyone. There are no limits at all. It's really cool :)
We will publish Guidelines and API in the Part 2 of this post soon so you can enjoy the Scrippet Development too. Also, we are going to add the catalogue of scrippets on this site but need some time for this. Please stay tuned…
What Is Next?
In short, you should give it a try :) As always, please don't hesitate to ask for any support or feature requests in our Discussion Group and Twitter. Also, we need you feedback very much. Let us know what scrippets would you like to have included in the application by default.
Dessert!
There is a way to assign custom keyboard shortcuts to your favourite scrippets:
— Open ‘Keyboard System Preferences’
— Select ‘Application Shortcuts’ item in the ‘Keyboard Shortcuts’ tab
— Click the ‘Plus’ button to add the shortcut
For instance, try to give the Menu Title: Share via Pastie.org… Keyboard Shortcut: ⌥⌘P.
Be careful: don't mix an ‘ellipsis’ symbol with 3 ‘dot’ symbols. Scrippet menu items end by ‘ellipsis’ (⌥+; on the mac keyboards).
Finally, look at the Scrippets menu: the item ‘Share via Pastie.org…’ should have the just assigned shortcut.
To be continued…
Comments
“Sucks” to you does not mean “sucks” to others. Snipt.org is one of the minority that have an API for its service.
Anyway, it’s just one of options. If you have suggestions that don’t s… and that other people may need please reply.
Awesome awesome awesome work on the updates guys! The “share on” feature is exactly what i’ve been waiting for, for sooo long! its sooo easy to share snippets now :D
A nice touch would be to have the share url automatically copied to your clipboard and possibly even combine the last two steps into one. I know it may sound trivial, but every second counts and a 2 step process is quicker than a 3 step one :P
I posted a quick mock up:
http://emberapp.com/connectr/images/snippets
Hi Chris,
Thank you for the feedback!
All your points sound very good and we will take them all into consideration.
We are definitely going to improve the Scrippets UX in the future :)
Stay tuned!
Post a new comment
Comment as a Guest, or login with Google Account:
snipt.org sucks.