ShowDocumentParams

langoustine.lsp.structures.ShowDocumentParams
See theShowDocumentParams companion object
case class ShowDocumentParams(uri: Uri, external: Opt[Boolean], takeFocus: Opt[Boolean], selection: Opt[Range])

Params to show a resource in the UI.

Value parameters

external

Indicates to show the resource in an external program. To show, for example, https://code.visualstudio.com/ in the default WEB browser set external to true.

selection

An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file.

takeFocus

An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program is started.

uri

The uri to show.

Attributes

Since

3.16.0

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product