|
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': |
@@ -59,7 +58,7 @@ The outmost key of a snippet is the "scope" that you want the descendent snippet |
59 | 58 |
|
60 | 59 |  |
61 | 60 |
|
62 | | -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) |
| 61 | +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) |
63 | 62 | (<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`. |
64 | 63 |
|
65 | 64 | ### Snippet syntax |
@@ -110,4 +109,4 @@ Including a literal closing brace inside the text provided by a snippet's tab st |
110 | 109 |
|
111 | 110 | ### Multiple snippets for the same scope |
112 | 111 |
|
113 | | -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. |
| 112 | +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