Function Setting.settingByPath

returns setting by path like "editors/sourceEditor/tabSize", creates object tree "editors/sourceEditor" and object of specified type if part of path does not exist.

Setting settingByPath(
  string path,
  SettingType type,
  bool createIfNotExist = true
);