IWorkspaceSettingsProvider Interface

Definition

Dynamic settings providers These providers contribute properties to the hierarchical settings collection that comes from a different sources than on disk json files. Example can be "intrinsic in memory providers" or "converters" (components that parse other tools formats into a Workspace settings schema).

public interface class IWorkspaceSettingsProvider
public interface class IWorkspaceSettingsProvider
__interface IWorkspaceSettingsProvider
public interface IWorkspaceSettingsProvider
type IWorkspaceSettingsProvider = interface
Public Interface IWorkspaceSettingsProvider
Derived

Properties

OnWorkspaceSettingsChanged

Event fire when a settings source managed by the particular provider changes. The Settings manager will monitor this events and will propagate them to consumers as required.

Methods

DisposeAsync()

called when workspace is disposed. The provider should disconnect listeners to other IWorkspace related components here, release resource and such. The potentially cached IWorkspace is available to be used, but some functionality may not work (for example it is likely attempting to use SymbolsService will fail)

GetSingleSettings(String, String)

Provide a workspace schema settings collection to be merged with the rest of the Workspace's sources. Note provider should only provide a single source that applies only to the "scopePath".

Applies to