https://github.com/sergeysova/describe-snippets
https://github.com/sergeysova/describe-snippets
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergeysova/describe-snippets
- Owner: sergeysova
- Created: 2016-04-04T12:15:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T12:27:08.000Z (over 10 years ago)
- Last Synced: 2025-03-29T11:06:15.365Z (over 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
});
```