Skip to content

Commit 29fc619

Browse files
committed
Move files to subfolder, update build script, and add installation instructions
1 parent 57bb197 commit 29fc619

File tree

8 files changed

+23
-1
lines changed

8 files changed

+23
-1
lines changed

docs/editors/sublime-text/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,28 @@ $ cd ./path/to/project
4747
$ subl .
4848
```
4949

50+
## Snippets and Completions
51+
52+
Included in this directory are snippets and completions for automating various boilerplate tasks. To install them, determine the location where [Sublime Text][sublime-text] packages are installed. For example, on MacOS,
53+
54+
```text
55+
/Users/<user>/Library/Application Support/Sublime Text 3/Packages
56+
```
57+
58+
where `<user>` is your user name. Navigate to the package installation folder,
59+
60+
```bash
61+
$ cd ./path/to/package/installation/folder
62+
```
63+
64+
and create a `stdlib` directory
65+
66+
```bash
67+
$ mkdir stdlib
68+
```
69+
70+
Copy the `completions/*.sublime-completions` and `snippets/*.sublime-snippet` files to the newly created directory such that all files reside within the top-level `stdlib` directory (i.e., do not copy over the `completions` and `snippets` folders). Once copied to the directory, [Sublime Text][sublime-text] will automatically install them for use within the editor.
71+
5072
## Packages
5173

5274
- [**Package Control**][sublime-text-package-control]: package manager which helps in finding, installing, and keeping installed packages up-to-date. This **should** be installed prior to installing any of the packages subsequently listed here.

docs/editors/sublime-text/stdlib-awk.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-awk.sublime-completions

File renamed without changes.

docs/editors/sublime-text/stdlib-bash.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-bash.sublime-completions

File renamed without changes.

docs/editors/sublime-text/stdlib-js.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-js.sublime-completions

File renamed without changes.

docs/editors/sublime-text/stdlib-julia.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-julia.sublime-completions

File renamed without changes.

docs/editors/sublime-text/stdlib-python.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-python.sublime-completions

File renamed without changes.

docs/editors/sublime-text/stdlib-r.sublime-completions renamed to docs/editors/sublime-text/completions/stdlib-r.sublime-completions

File renamed without changes.

docs/editors/sublime-text/scripts/sublime_completions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var completions = require( './completions' );
3434
var debug = logger( 'sublime-completions' );
3535

3636
// Output directory:
37-
var DIR = resolve( __dirname, '..' );
37+
var DIR = resolve( __dirname, '..', 'completions' );
3838

3939

4040
// MAIN //

0 commit comments

Comments
 (0)