getConfiguration method

WorkspaceConfiguration getConfiguration([
  1. String? section,
  2. Object? scope
])

Get a workspace configuration object.

When a section-identifier is provided only that part of the configuration is returned. Dots in the section-identifier are interpreted as child-access, like { myExt: { setting: { doIt: true }}} and getConfiguration('myExt.setting').get('doIt') === true.

When a scope is provided configuration confined to that scope is returned. Scope can be a resource or a language identifier or both.

Implementation

_i3.WorkspaceConfiguration getConfiguration([
  _i2.String? section,
  _i2.Object? scope,
]) =>
    _i4.callMethod(
      this,
      'getConfiguration',
      [
        section ?? _i5.undefined,
        scope ?? _i5.undefined ?? _i5.undefined,
      ],
    );