Add showWorkspaceLoadedNotification to vscode client

This allows users to control whether or not they want to see the "workspace
loaded" notification.

This is done on the server side using InitializationOptions which are provided
by the client. By default show_workspace_loaded is true, meaning the
notification is sent.
This commit is contained in:
Ville Penttinen 2019-03-06 11:34:38 +02:00
parent ce118da149
commit 0dcb1cb569
8 changed files with 78 additions and 22 deletions

View file

@ -5,7 +5,8 @@ mod main_loop;
mod markdown;
mod project_model;
pub mod req;
pub mod init;
mod server_world;
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
pub use crate::{caps::server_capabilities, main_loop::main_loop, main_loop::LspError};
pub use crate::{caps::server_capabilities, main_loop::main_loop, main_loop::LspError, init::InitializationOptions};