object ServerCommands
LSP commands supported by the Metals language server.
- Alphabetic
- By Inheritance
- ServerCommands
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
ConnectBuildServer: String
Unconditionally cancel existing build server connection and re-connect.
Unconditionally cancel existing build server connection and re-connect.
Useful if you manually run
bloopInstallfrom the sbt shell, in which case this command is needed to tell metals to communicate with the bloop server. -
val
ImportBuild: String
Unconditionally
sbt bloopInstalland re-connect to the build server.Unconditionally
sbt bloopInstalland re-connect to the build server.Is by default automatically managed by the language server, but sometimes it's useful to manually trigger it instead.
- def OpenBrowser(url: String): String
-
val
OpenBrowser: Regex
Open the browser at the given url.
-
val
ScanWorkspaceSources: String
Walk all files in the workspace and index where symbols are defined.
Walk all files in the workspace and index where symbols are defined.
Is automatically run once after
initializednotification and incrementally updated on file wathching events. A language client that doesn't support file watching can run this manually instead. It should not be much slower than walking the entire file tree and reading*.scalafiles to string, indexing itself is cheap. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )