Sublime Forum

Atomizr Reboot

#1

Several years ago, I started Atomizr as Ruby CLI that lets you convert Sublime Text completions/snippets into Atom snippets, and vice versa. Soon after, plug-ins for Sublime Text and Atom followed.

Only recently, I rewrote Atomizr in JavaScript, mainly because my upgrade to Sierra screwed up my Ruby environment.

Functionality                      | Ruby | Node | Atom | Sublime Text
-----------------------------------|------|------|------|-------------
Atom to Sublime Text               |      | ✓    | ✓    | ✓
Atom to TextMate                   |      | ✓    | ✓    |  
Atom to Visual Studio Code         |      | ✓    | ✓    | ✓
Sublime Text to Atom               | ✓    | ✓    | ✓    | ✓
Sublime Text to TextMate           |      | ✓    | ✓    |  
Sublime Text to Visual Studio Code |      | ✓    | ✓    | ✓
TextMate to Atom                   | ✓    | ✓    | ✓    |  
TextMate to Sublime Text           |      | ✓    | ✓    |  
TextMate to Visual Studio Code     |      | ✓    | ✓    |  
Visual Studio Code to Atom         |      | ✓    | ✓    | ✓
Visual Studio Code to Sublime Text |      | ✓    | ✓    | ✓
Visual Studio Code to TextMate     |      | ✓    | ✓    |  
Toggle Atom format                 |      | ✓    | ✓    | ✓
Toggle Sublime Text format         |      | ✓    | ✓    | ✓
Batch conversion                   | ✓    | ✓    |      |  
0 Likes

#2

Can you provide some tips how to convert the whole package from Atom to ST3?

Conversion on the single file does work - tried with Atom’s atom-zurb-foundation snippets, but not being familiar with either Atom’s nor ST3’s packaging, I’d appreciate some info about the required procedure?

0 Likes

#3

This converts all snippets from the mentioned package:

git clone https://github.com/GBratsos/atom-zurb-foundation
mkdir sublime-zurb-foundation
atomizr "atom-zurb-foundation/snippets/*" --target sublime --outdir sublime-zurb-foundation/snippets
0 Likes