-
Notifications
You must be signed in to change notification settings - Fork 10
/
LSP-metals.sublime-settings
50 lines (44 loc) · 1.79 KB
/
LSP-metals.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
{
// The version of the Metals server artifact. Requires restarting sublime.
// latest-stable, latest-snapshot or a specific server version
"server_version": "latest-stable",
// Optional path to the Java home directory. Requires reloading sublime.
"java_home": "",
// Attach to views with base scope source.scala or source.java
"selector": "source.scala, source.java",
"schemes": ["file", "jar"],
// Optional array of properties to pass along to the Metals server.
// Example: `-Dhttps.proxyHost=… -Dhttps.proxyPort=…` or `-Dmetals.statistics=all`
// check https://scalameta.org/metals/docs/integrations/new-editor/#metals-server-properties for all properties
"server_properties": [
"-Dmetals.client=sublime",
"-Xss4m",
"-Xms100m"
],
// initialization options
"initializationOptions": {
"didFocusProvider": true,
"executeClientCommandProvider": true,
"statusBarProvider": "on",
"inputBoxProvider": true,
// When enabled, shows worksheet evaluations as Sublime.Phantom instead of code comments.
"decorationProvider": true,
// When enabled, inferred types and implicits are shown as as Sublime.Phantom.
"inlineDecorationProvider": true,
"commandInHtmlFormat": "sublime",
"doctorProvider": "json",
"isHttpEnabled": false,
"doctorVisibilityProvider": false
},
"settings": {
"metals": {
"superMethodLensesEnabled": true,
// When enabled, each method and variable that can have inferred types has them displayed.
"showInferredType": false,
// When enabled, each method that has implicit arguments has them displayed.
"showImplicitArguments": false,
// When enabled, each place where an implicit method or class is used has it displayed.
"showImplicitConversionsAndClasses": false
}
}
}