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

Add the configuration options used by the plugin #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions scala/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{
"language": "scala",
"scopeName": "source.scala",
"path": "./syntaxes/Scala.tmLanguage"
"path": "./syntaxes/scala.tmLanguage"
}
],
"snippets": [
Expand Down Expand Up @@ -103,7 +103,24 @@
"title": "scalariformFormat",
"category": "sbt"
}
]
],
"configuration": {
"type": "object",
"title": "Scala Language Server configuration",
"properties": {
"scalaLanguageServer.heapSize": {
"type": "string",
"default": "768M",
"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."
},
"scalaLanguageServer.logLevel": {
"type": "string",
"default": "DEBUG",
"enum": ["DEBUG", "ERROR", "INFO", "WARN"],
"description": "Sets the log level on the server."
}
}
}
},
"scripts": {
"vscode:prepublish": "curl -L -o coursier https://github.com/alexarchambault/coursier/raw/991b60ddbcb7d781c17a463f7af980f2dd888d4b/coursier && tsc -p ./",
Expand Down