Type Alias SynchronizeOptions

SynchronizeOptions: {
    configurationSection?: string | string[];
    fileEvents?: VFileSystemWatcher | VFileSystemWatcher[];
}

Type declaration

  • OptionalconfigurationSection?: string | string[]

    The configuration sections to synchronize. Pushing settings from the client to the server is deprecated in favour of the new pull model that allows servers to query settings scoped on resources. In this model the client can only deliver an empty change event since the actually setting value can vary on the provided resource scope.

    Use the new pull model (workspace/configuration request)

  • OptionalfileEvents?: VFileSystemWatcher | VFileSystemWatcher[]

    Asks the client to send file change events to the server. Watchers operate on workspace folders. The LSP client doesn't support watching files outside a workspace folder.