Skip to content

Commit

Permalink
more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Dec 12, 2019
1 parent be49cd0 commit 608ac23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vs/editor/common/services/resourceConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
export const IResourceConfigurationService = createDecorator<IResourceConfigurationService>('resourceConfigurationService');

export interface IResourceConfigurationChangeEvent {

/**
* All affected keys. Also includes language overrides and keys changed under language overrides.
*/
readonly affectedKeys: string[];

/**
* Returns `true` if the given section has changed for the given resource.
*
* Example: To check if the configuration section has changed for a given resource use `e.affectsConfiguration(resource, section)`.
*
* @param resource Resource for which the configuration has to be checked.
* @param section Section of the configuration
*/
Expand Down

0 comments on commit 608ac23

Please sign in to comment.