Skip to content

WorkspaceManager

[Source]

Handling all operations on a workspace

actor tag WorkspaceManager

Constructors

create

[Source]

new tag create(
  workspace': WorkspaceData val,
  file_auth': FileAuth val,
  channel': Channel tag,
  compiler': PonyCompiler tag)
: WorkspaceManager tag^

Parameters

Returns


Public fields

let workspace: WorkspaceData val

[Source]


Public Behaviours

done_compiling

[Source]

be done_compiling(
  program_dir: FilePath val,
  result: (Program val | Array[Error val] val),
  run: USize val)

Parameters


did_open

[Source]

Handling the textDocument/didOpen notification

be did_open(
  document_uri: String val,
  notification: Notification val)

Parameters


did_close

[Source]

Handling the textDocument/didClose notification

be did_close(
  document_uri: String val,
  notification: Notification val)

Parameters


did_save

[Source]

Handling the textDocument/didSave notification

be did_save(
  document_uri: String val,
  notification: Notification val)

Parameters


hover

[Source]

Handling the textDocument/hover request

be hover(
  document_uri: String val,
  request: RequestMessage val)

Parameters


goto_definition

[Source]

Handling the textDocument/definition request

be goto_definition(
  document_uri: String val,
  request: RequestMessage val)

Parameters


document_symbols

[Source]

be document_symbols(
  document_uri: String val,
  request: RequestMessage val)

Parameters


dispose

[Source]

be dispose()