An open API service indexing awesome lists of open source software.

https://github.com/sergeysova/describe-snippets


https://github.com/sergeysova/describe-snippets

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Javascript describe snippets for Sublime Text 3

## Mac OS X

Install:

```bash
./installMac
# snippets will be copied to `~/Library/Application Support/Sublime Text 3/Packages/User/describe`
```

Uninstall:

```bash
./uninstallMac
```

## Ubuntu

Install:

```bash
./installUbuntu
# snippets will be copied to `~/.config/sublime-text-3/Packages/User/describe`
```

Uninstall:

```bash
./uninstallUbuntu
```

For other platforms:

```bash
# Install
cp -r ./*.sublime-snippet ~/.Sublime\ Text\ 3/Packages/User/describe

# Remove
rm -rf ~/.Sublime\ Text\ 3/Packages/User/describe
```

## Describe

Trigger: `describe`

Tab switch: 1

Template: `1:Description`

Result:

```js
describe('Description', () => {
// body
});
```

## It

Trigger: `it`

Tab switch: 1

Template: `1:Name`

Result:

```js
it('Name', () => {
// body
});
```