microsoft/language-server-protocol

Persisting workspace or global state

开放

#1,108 创建于 2020年10月20日

 (3 条评论) (0 个反应) (0 位负责人)HTML (956 个派生)batch import
feature-requesthelp wantednew request

仓库指标

星标
 (12,810 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Are there any plans for the protocol to support something analogous to VS Code's workspace and global state mementos? There are some instances where we'd like to prompt the user to make a choice that should not necessarily be manually configured as a setting. For example, in the Go language server, we'd like to prompt users to decide between multiple "workspace modes" (treat all workspace folders as one Go module or as separate modules), but if we want to remember their choice, we would have to implement our own version of persistent storage, which many editors like VS Code already support.

贡献者指南