Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit e543f3b

Browse files
committed
Add the configuration options used by the plugin
Before that change, VS Code would complain about unknown configuration options if those options were added to `settings.json`.
1 parent 2016918 commit e543f3b

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

scala/package.json

+18-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,24 @@
103103
"title": "scalariformFormat",
104104
"category": "sbt"
105105
}
106-
]
106+
],
107+
"configuration": {
108+
"type": "object",
109+
"title": "Scala Language Server configuration",
110+
"properties": {
111+
"scalaLanguageServer.heapSize": {
112+
"type": "string",
113+
"default": "768M",
114+
"description": "Sets the heap size used by the Scala language server, for example `512M` or `4G`. The default is probably insufficient for larger projects and may be the cause for the language server being unresponsive."
115+
},
116+
"scalaLanguageServer.logLevel": {
117+
"type": "string",
118+
"default": "DEBUG",
119+
"enum": ["DEBUG", "ERROR", "INFO", "WARN"],
120+
"description": "Sets the log level on the server."
121+
}
122+
}
123+
}
107124
},
108125
"scripts": {
109126
"vscode:prepublish": "curl -L -o coursier https://github.com/alexarchambault/coursier/raw/991b60ddbcb7d781c17a463f7af980f2dd888d4b/coursier && tsc -p ./",

0 commit comments

Comments
 (0)