MCPcopy Create free account
hub / github.com/chhoumann/quickadd / templatesGroup

Method templatesGroup

src/quickAddSettingsTab.ts:219–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 }
218
219 private templatesGroup(): SettingDefinitionGroup<SettingsKey> {
220 return {
221 type: "group",
222 heading: "Templates & Properties",
223 items: [
224 {
225 name: "Template folder paths",
226 desc: "Folders where templates are stored. Used to suggest template files when configuring QuickAdd. Add as many as you like; leave empty to suggest every template file in the vault.",
227 render: (setting) => this.renderTemplateFolderPaths(setting),
228 },
229 {
230 name: "Convert string front matter variables to typed properties (Beta)",
231 desc:
232 "List/object values from scripts are always written as proper Obsidian properties (a list becomes a List). " +
233 "This toggle additionally converts string values into typed properties: a comma or bullet-list string becomes a List, " +
234 "\"42\" becomes a Number, \"true\" becomes a Checkbox, etc. Disabled by default; the string conversion is a beta heuristic that may have edge cases.",
235 control: { type: "toggle", key: "enableTemplatePropertyTypes" },
236 },
237 ],
238 };
239 }
240
241 private notificationsGroup(): SettingDefinitionGroup<SettingsKey> {
242 return {

Callers 1

getSettingDefinitionsMethod · 0.95

Calls 1

Tested by

no test coverage detected