Skip to content

Commit dce33d0

Browse files
committed
scala metals template is now consistent with command in installer.json
in scala/metals, isHttpEnabled is true by default
1 parent 682741e commit dce33d0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"isHttpEnabled": true
3+
}

src/main/resources/templates/lsp/metals/template.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"id": "metals",
33
"name": "Scala Language Server (Metals)",
4+
"properties": {
5+
"workingDir" : "$USER_HOME$/.lsp4ij/lsp/metals"
6+
},
47
"programArgs": {
5-
"windows": "\"${BASE_DIR}/metals.bat\"",
6-
"default": "\"${BASE_DIR}/metals\""
8+
"windows": "\"${workingDir}/metals.bat\"",
9+
"default": "\"${workingDir}/metals\""
710
},
811
"expandConfiguration": true,
912
"fileTypeMappings": [

0 commit comments

Comments
 (0)