Created
March 12, 2021 11:25
-
-
Save MilesMcBain/a8ea9f0bc9a6a3522fe57a21f7282fb1 to your computer and use it in GitHub Desktop.
Prepare languageserver tcp client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client <- TCPLanguageClient$new(port = 8888) #session 1 | |
run(port = 8888) # session 2 | |
client$start() | |
data <- client$fetch(blocking = TRUE) | |
client$handle_raw(data) | |
## do stuff with client | |
client %>% did_save(defn_file_path2) | |
result <- client %>% respond_document_symbol(defn_file_path2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment