Skip to content

Commit 7d9a39a

Browse files
author
Matt Oakes
committed
Added installation instructions and more info
1 parent c38602c commit 7d9a39a

File tree

1 file changed

+43
-3
lines changed

1 file changed

+43
-3
lines changed

README.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
1-
SublimeAndroidSnippets
2-
======================
1+
Android Snippets for Sublime
2+
============================
33

4-
Snippets to help out with Android
4+
These snippets are designed to make it quicker and easier to create Android apps using Sublime Text 2/3.
5+
6+
Avaliable Snippets
7+
------------------
8+
9+
- `ad-logdebug` Debug log with a message
10+
- `ad-widget` The basics needed to get started with creating a custom widget
11+
12+
Recommended Installation
13+
------------------------
14+
15+
The easiest way to install this is with [Package Control](http://wbond.net/sublime\_packages/package\_control).
16+
17+
* Make sure you've restarted Sublime if you've just installed Package Control.
18+
* Bring up the Command Palette (`Cmd+Shift+P` on OS X, `Ctrl+Shift+P` on Linux & Windows).
19+
* Select `Package Control: Install Package` (it will take a few seconds to load).
20+
* Select `AndroidSnippets` when the list appears.
21+
22+
Package Control will automatically keep the plugin up to date with the latest version.
23+
24+
Other Installation Methods
25+
--------------------------
26+
**OSX**
27+
```bash
28+
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
29+
git clone git://github.com/ribot/SublimeAndroidSnippets.git AndroidSnippets
30+
```
31+
32+
**Linux (Ubuntu like distros)**
33+
```bash
34+
cd ~/.config/sublime-text-2/Packages/
35+
git clone git://github.com/ribot/SublimeAndroidSnippets.git AndroidSnippets
36+
```
37+
38+
**Windows 7**
39+
40+
Copy the directory to: `C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages`
41+
42+
**Windows XP**
43+
44+
Copy the directory to: `C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages`

0 commit comments

Comments
 (0)