some update.

This commit is contained in:
ykiko
2024-07-07 17:33:11 +08:00
parent 1e64c6eb78
commit 0f8a930289
9 changed files with 47 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
#pragma once
#include <uv.h>
#include <string_view>
#include "Protocol.h"
namespace clice {
// global server instance
@@ -17,8 +21,33 @@ public:
int exit();
void handle_message(std::string_view message);
// LSP methods
void initialize();
/*===================================================/
/ /
/==================== LSP methods ===================/
/ /
/===================================================*/
// Server lifecycle
void initialize(InitializeParams& params);
// Text Document Synchronization
// Language Features
void declaration();
void definition();
void typeDefinition();
void implementation();
void references();
void callHierarchy();
/* ... */
void hover();
void codeLens();
/* ... */
void foldingRange();
void selectionRange();
void documentSymbol();
void semanticTokens();
void inlineValue();
};
} // namespace clice