public class FileTracker extends Object
Constructor and Description |
---|
FileTracker() |
Modifier and Type | Method and Description |
---|---|
void |
changeFile(String path,
List<org.eclipse.lsp4j.TextDocumentContentChangeEvent> contentChanges) |
String |
closeFile(String path) |
static int |
getOffsetFromPosition(Reader in,
org.eclipse.lsp4j.Position position) |
Set<String> |
getOpenFiles() |
static Path |
getPathFromLanguageServerURI(String apiURI)
Converts an URI from the language server protocol to a Path.
|
Reader |
getReader(String path) |
String |
getText(String path) |
boolean |
isOpen(String uri) |
void |
openFile(String path,
String text) |
Copyright © 2022. All rights reserved.