-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRequireJS Module Manager.sublime-settings
63 lines (56 loc) · 2.77 KB
/
RequireJS Module Manager.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
// All of the settings below can also be set on a per-project basis by
// recreating any of them in an individual project's settings
// (*.sublime-project) file. If the commands find the setting in the project's
// settings while run on a project's window, that setting will be used.
// If not, the package-specific version will be used.
// If node is seen by Sublime Text's PATH, the plugin will use it. If not,
// specify your own to use.
// If set in Package Settings, the path is relative to the RequireJS Module
// Manager package folder. If set in a project's settings (*.sublime-project)
// file, the path is relative to the first folder included in the project.
// Example:
// "node_command": "/usr/local/bin/node",
"node_command": "node",
// If r.js is seen by Sublime Text's PATH, the plugin will use it. If not,
// the plugin will use a version of r.js included with it. You can specify
// your own location as well.
// If set in Package Settings, the path is relative to the RequireJS Module
// Manager package folder. If set in a project's settings (*.sublime-project)
// file, the path is relative to the first folder included in the project.
// Examples:
// "rjs_path": "/usr/local/share/npm/bin/r.js",
// "rjs_path": "lib/r.js",
"rjs_path": "r.js",
// Can be either a RequireJS config object in JSON format that includes at
// minimum "baseUrl", or a path to a js file containing a requirejs.config
// relative to the first folder in the project.
// If set in Package Settings, the path is relative to the RequireJS Module
// Manager package folder. If set in a project's settings (*.sublime-project)
// file, the path is relative to the first folder included in the project.
// You will typically always want to recreate this setting in an individual
// project's settings.
// Example:
// "requirejs_config": "path/to/config.js"
"requirejs_config": {
"baseUrl": ".",
"paths": {}
},
// Unix shell-style, space-separated list of file and folder ignore patterns.
// Matched files will not show in the module id quick panel.
"ignore": ".*",
// Reorders the dependencies list when it is modified or appended.
"sort_dependencies": true,
// If sort_dependencies is true, sort them by the criteria below.
// The array must contain these four items, in any order.
"sort_order": [
"remote", // http://* or https://*
"id", // *
"absolute", // /*
"relative" // ./* or ../*
],
// If no dependencies are available to infer formatting from, insert the
// dependency module id array and factory function.
"dependency_template": "([\n\t'element1',\n\t'element2'\n], function ( argument1, argument2 ) {})"
// "dependency_template": "(['element1', 'element2'], function (argument1, argument2) {})"
}