Skip to content

Commit 545cd69

Browse files
committed
Fixes #567: Spec should discourage abuse of initializationOptions and didChangeConfiguration
1 parent 5839ca7 commit 545cd69

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

specification.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,12 @@ interface InitializeParams {
894894
rootUri: DocumentUri | null;
895895

896896
/**
897-
* User provided initialization options.
897+
* Client provided initialization options. Usually these are options
898+
* that could equally be command line options passed when starting
899+
* the server. This property shouldn't be used to pass any user
900+
* configuration to the server. If a user configuration is needed
901+
* the server should use `workspace/configuration` requests together
902+
* with dynamic registration to obtain them.
898903
*/
899904
initializationOptions?: any;
900905

0 commit comments

Comments
 (0)