microsoft/language-server-protocol

Persisting workspace or global state

Open

#1108 aperta il 20 ott 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)HTML (956 fork)batch import
feature-requesthelp wantednew request

Metriche repository

Star
 (12.810 star)
Metriche merge PR
 (Merge medio 19h 29m) (12 PR mergiate in 30 g)

Descrizione

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.

Guida contributor