|
1 | 1 | # Snippets package
|
2 |
| -[](https://travis-ci.org/atom/snippets) [](https://ci.appveyor.com/project/Atom/snippets/branch/master) [](https://david-dm.org/atom/snippets) |
3 | 2 |
|
4 |
| -Expand snippets matching the current prefix with <kbd>tab</kbd> in Atom. |
| 3 | +Expand snippets matching the current prefix with <kbd>tab</kbd> in Pulsar. |
5 | 4 |
|
6 |
| -To add your own snippets, select the _Atom > Snippets..._ menu option if you're using macOS, or the _File > Snippets..._ menu option if you're using Windows, or the _Edit > Snippets..._ menu option if you are using Linux. |
| 5 | +To add your own snippets, select the _Pulsar > Snippets..._ menu option if you're using macOS, or the _File > Snippets..._ menu option if you're using Windows, or the _Edit > Snippets..._ menu option if you are using Linux. |
7 | 6 |
|
8 | 7 | ## Snippet Format
|
9 | 8 |
|
10 |
| -Snippets files are stored in a package's `snippets/` folder and also loaded from `~/.atom/snippets.cson`. They can be either `.json` or `.cson` file types. |
| 9 | +Snippets files are stored in a package's `snippets/` folder and also loaded from `~/.pulsar/snippets.cson`. They can be either `.json` or `.cson` file types. |
11 | 10 |
|
12 | 11 | ```coffee
|
13 | 12 | '.source.js':
|
@@ -79,7 +78,7 @@ The outmost key of a snippet is the "scope" that you want the descendent snippet
|
79 | 78 |
|
80 | 79 | 
|
81 | 80 |
|
82 |
| -If it's difficult to determine the package handling the file type in question (for example, for `.md`-documents), you can also proceed as following. Put your cursor in a file in which you want the snippet to be available, open the [Command Palette](https://github.com/atom/command-palette) |
| 81 | +If it's difficult to determine the package handling the file type in question (for example, for `.md`-documents), you can also proceed as following. Put your cursor in a file in which you want the snippet to be available, open the [Command Palette](https://github.com/pulsar-edit/command-palette) |
83 | 82 | (<kbd>cmd-shift-p</kbd>), and run the `Editor: Log Cursor Scope` command. This will trigger a notification which will contain a list of scopes. The first scope that's listed is the scope for that language. Here are some examples: `source.coffee`, `text.plain`, `text.html.basic`.
|
84 | 83 |
|
85 | 84 | ### Snippet syntax
|
@@ -130,4 +129,4 @@ Including a literal closing brace inside the text provided by a snippet's tab st
|
130 | 129 |
|
131 | 130 | ### Multiple snippets for the same scope
|
132 | 131 |
|
133 |
| -Snippets for the same scope must be placed within the same key. See [this section of the Atom Flight Manual](http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson) for more information. |
| 132 | +Snippets for the same scope must be placed within the same key. See [this section of the Atom Flight Manual](https://pulsar-edit.dev/docs/atom-archive/using-atom/#configuring-with-cson) for more information. |
0 commit comments