You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: PULL_REQUEST_TEMPLATE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
### Requirements
2
2
3
-
* Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
4
-
* All new code requires tests to ensure against regressions
3
+
- Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
4
+
- All new code requires tests to ensure against regressions
Expand snippets matching the current prefix with <kbd>tab</kbd> in Atom.
@@ -27,23 +28,25 @@ Under each snippet name is a `prefix` that should trigger the snippet and a `bod
27
28
The above example adds a `log` snippet to JavaScript files that would expand to.
28
29
29
30
```js
30
-
console.log("crash");
31
+
console.log('crash')
31
32
```
32
33
33
34
The string `"crash"` would be initially selected and pressing tab again would place the cursor after the `;`
34
35
35
36
### Optional parameters
37
+
36
38
These parameters are meant to provide extra information about your snippet to [autocomplete-plus](https://github.com/atom/autocomplete-plus/wiki/Provider-API).
37
39
38
-
*`leftLabel` will add text to the left part of the autocomplete results box.
39
-
*`leftLabelHTML` will overwrite what's in `leftLabel` and allow you to use a bit of CSS such as `color`.
40
-
*`rightLabelHTML`. By default, in the right part of the results box you will see the name of the snippet. When using `rightLabelHTML` the name of the snippet will no longer be displayed, and you will be able to use a bit of CSS.
41
-
*`description` will add text to a description box under the autocomplete results list.
42
-
*`descriptionMoreURL` URL to the documentation of the snippet.
40
+
-`leftLabel` will add text to the left part of the autocomplete results box.
41
+
-`leftLabelHTML` will overwrite what's in `leftLabel` and allow you to use a bit of CSS such as `color`.
42
+
-`rightLabelHTML`. By default, in the right part of the results box you will see the name of the snippet. When using `rightLabelHTML` the name of the snippet will no longer be displayed, and you will be able to use a bit of CSS.
43
+
-`description` will add text to a description box under the autocomplete results list.
44
+
-`descriptionMoreURL` URL to the documentation of the snippet.
The outmost key of a snippet is the "scope" that you want the descendent snippets to be available in. The key should be prefixed with a period (`text.html.basic` => `.text.html.basic`). You can find out the correct scope by opening the Settings (<kbd>cmd-,</kbd> on macOS) and selecting the corresponding *Language[xxx]* package, e.g. for *Language Html*:
61
+
The outmost key of a snippet is the "scope" that you want the descendent snippets to be available in. The key should be prefixed with a period (`text.html.basic` => `.text.html.basic`). You can find out the correct scope by opening the Settings (<kbd>cmd-,</kbd> on macOS) and selecting the corresponding _Language[xxx]_ package, e.g. for _Language Html_:
59
62
60
63

61
64
@@ -68,9 +71,9 @@ This package supports a subset of the features of TextMate snippets, [documented
0 commit comments