microsoft/language-server-protocol

Persisting workspace or global state

Open

#1.108 geöffnet am 20. Okt. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (12.810 Stars) (956 Forks)batch import
feature-requesthelp wantednew request

Beschreibung

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.

Contributor Guide