38 lines
632 B
Plaintext
38 lines
632 B
Plaintext
How to sublimetext:
|
|
|
|
1) install LSP package
|
|
2) Add this to user settings :
|
|
|
|
"clients":
|
|
{
|
|
"amycd":
|
|
{
|
|
"command":
|
|
[
|
|
"sbt",
|
|
"run"
|
|
],
|
|
"enabled": true,
|
|
"languages":
|
|
[
|
|
{
|
|
"languageId": "amyc",
|
|
"scopes":
|
|
[
|
|
"source.amy",
|
|
"source.scala"
|
|
],
|
|
"syntaxes":
|
|
[
|
|
"Packages/Scala/Scala.sublime-syntax"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
Note: With the previous command/setting, you need to edit code in tha same project as the amyc language server (since it runs naivly and doesnt exist in the PATH or as an alias)
|
|
|
|
3) Open a .amy file
|
|
4) Set Syntax to scala
|
|
5) Start LSP server |