WorkspaceManager¶
Handling all operations on a workspace
Constructors¶
create¶
new tag create(
workspace': WorkspaceData val,
file_auth': FileAuth val,
channel': Channel tag,
compiler': PonyCompiler tag)
: WorkspaceManager tag^
Parameters¶
- workspace': WorkspaceData val
- file_auth': FileAuth val
- channel': Channel tag
- compiler': PonyCompiler tag
Returns¶
- WorkspaceManager tag^
Public fields¶
let workspace: WorkspaceData val¶
Public Behaviours¶
done_compiling¶
be done_compiling(
program_dir: FilePath val,
result: (Program val | Array[Error val] val),
run: USize val)
Parameters¶
did_open¶
Handling the textDocument/didOpen notification
Parameters¶
- document_uri: String val
- notification: Notification val
did_close¶
Handling the textDocument/didClose notification
Parameters¶
- document_uri: String val
- notification: Notification val
did_save¶
Handling the textDocument/didSave notification
Parameters¶
- document_uri: String val
- notification: Notification val
hover¶
Handling the textDocument/hover request
Parameters¶
- document_uri: String val
- request: RequestMessage val
goto_definition¶
Handling the textDocument/definition request
Parameters¶
- document_uri: String val
- request: RequestMessage val
document_symbols¶
Parameters¶
- document_uri: String val
- request: RequestMessage val