-
Notifications
You must be signed in to change notification settings - Fork 1
/
sublime-package.json
194 lines (194 loc) · 8.76 KB
/
sublime-package.json
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"contributions": {
"settings": [
{
"file_patterns": ["/LSP-julia.sublime-settings"],
"schema": {
"$id": "sublime://settings/LSP-julia",
"properties": {
"command": {
"$ref": "sublime://settings/LSP#/definitions/ClientCommand"
},
"enabled": {
"$ref": "sublime://settings/LSP#/definitions/ClientEnabled"
},
"selector": {
"$ref": "sublime://settings/LSP#/definitions/ClientSelector"
},
"schemes": {
"$ref": "sublime://settings/LSP#/definitions/ClientSchemes"
},
"initializationOptions": {
"$ref": "sublime://settings/LSP#/definitions/ClientInitializationOptions"
},
"disabled_capabilities": {
"$ref": "sublime://settings/LSP#/definitions/ClientDisabledCapabilities"
},
"julia_executable_path": {
"description": "Full path to the Julia executable (including the file itself).",
"type": "string",
"default": ""
},
"repl_env_variables": {
"description": "Additional environmental variables for the Julia REPL.",
"type": "object",
"properties": {
"JULIA_NUM_THREADS": {
"description": "Maximum number of threads available to the Julia REPL.",
"type": "string",
"default": "4"
}
}
},
"settings": {
"description": "Language server configurations.",
"type": "object",
// @see https://github.com/julia-vscode/julia-vscode/blob/master/package.json
"properties": {
"julia.completionmode": {
"markdownDescription": "Sets the mode for completions.",
"type": "string",
"default": "qualify",
"enum": ["exportedonly", "import", "qualify"],
"markdownEnumDescriptions": [
"Show completions for the current namespace.",
"Show completions for the current namespace and unexported variables of `using`ed modules. Selection of an unexported variable will result in the automatic insertion of an explicit `using` statement.",
"Show completions for the current namespace and unexported variables of `using`ed modules. Selection of an unexported variable will complete to a qualified variable name."
]
},
"julia.lint.run": {
"markdownDescription": "Run the linter on active files.",
"type": "boolean",
"default": true
},
"julia.lint.call": {
"markdownDescription": "This compares call signatures against all known methods for the called function. Calls with too many or too few arguments, or unknown keyword parameters are highlighted.",
"type": "boolean",
"default": true
},
"julia.lint.constif": {
"markdownDescription": "Check for constant conditionals in if statements that result in branches never being reached.",
"type": "boolean",
"default": true
},
"julia.lint.datadecl": {
"markdownDescription": "Check variables used in type declarations are datatypes.",
"type": "boolean",
"default": true
},
"julia.lint.disabledDirs": {
"markdownDescription": "Specifies sub-directories in a package directory where only basic linting is. This drastically lowers the chance for false positives.",
"type": "array",
"default": ["docs", "test"],
"items": {
"type": "string"
}
},
"julia.lint.iter": {
"markdownDescription": "Check iterator syntax of loops. Will identify, for example, attempts to iterate over single values.",
"type": "boolean",
"default": true
},
"julia.lint.lazy": {
"markdownDescription": "Check for deterministic lazy boolean operators.",
"type": "boolean",
"default": true
},
"julia.lint.missingrefs": {
"markdownDescription": "Highlight unknown symbols. The `symbols` option will not mark unknown fields.",
"type": "string",
"default": "none",
"enum": ["none", "symbols", "all"]
},
"julia.lint.modname": {
"markdownDescription": "Check submodule names do not shadow their parent's name.",
"type": "boolean",
"default": true
},
"julia.lint.nothingcomp": {
"markdownDescription": "Check for use of `==` rather than `===` when comparing against `nothing`.",
"type": "boolean",
"default": true
},
"julia.lint.pirates": {
"markdownDescription": "Check for type piracy - the overloading of external functions with methods specified for external datatypes. 'External' here refers to imported code.",
"type": "boolean",
"default": true
},
"julia.lint.typeparam": {
"markdownDescription": "Check parameters declared in `where` statements or datatype declarations are used.",
"type": "boolean",
"default": true
},
"julia.lint.useoffuncargs": {
"markdownDescription": "Check that all declared arguments are used within the function body.",
"type": "boolean",
"default": true
},
"julia.inlayHints.static.enabled": {
"markdownDescription": "Enable display of static inlay hints.\n\nPlease note that you also need to enable inlay hints in the LSP package settings (*Preferences: LSP Settings* from the command palette): `\"show_inlay_hints\": true`",
"type": "boolean",
"default": true
},
"julia.inlayHints.static.variableTypes.enabled": {
"markdownDescription": "Enable type hints for variable definitions:\n\n```julia\nfoo #= ::Int64 =# = 42\n```",
"type": "boolean",
"default": true
},
"julia.inlayHints.static.parameterNames.enabled": {
"markdownDescription": "Enable name hints for function parameters:\n\n```julia\nfoo(#= bar: =# 42)\n```",
"type": "string",
"default": "literals",
"enum": ["none", "literals", "all"]
},
"julia.format.calls": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.comments": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.curly": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.docs": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.indent": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.indents": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.iterOps": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.keywords": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.kwarg": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.lineends": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.ops": {
"$ref": "#/$defs/format_deprecated"
},
"julia.format.tuples": {
"$ref": "#/$defs/format_deprecated"
},
},
"additionalProperties": false
}
},
"additionalProperties": false,
"$defs": {
"format_deprecated": {
"deprecationMessage": "This setting will be ignored. Please use a .JuliaFormatter.toml file instead."
}
}
}
}
]
}
}