Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的实现基于“vscode-languageserver”,我想知道如何将自定义请求发送到 vscode 服务器实现。
服务器
const connection: LSP.IConnection = LSP.createConnection(LSP.ProposedFeatures.all); connection.onNotification("handler/do", (handler)=>{});
客户
let client:LanguageClient = <initialize> client.sendNotification("handler/do");