diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ff7f762..52275fe9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Changelog +* `2.3.0`: 优化配置分组 * `2.2.2`: 重新添加 delimiter config * `2.2.1`: 补全支持声音触发 * `2.2.0`: support sound diff --git a/package.json b/package.json index 1c11efbc..f4b0d99f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "registry": "https://registry.npmjs.org" }, "license": "MIT", - "version": "2.2.2", + "version": "2.3.0", "packageManager": "pnpm@9.0.6", "scripts": { "update:config": " pnpm ts-node scripts/generateConfig.ts", diff --git a/scripts/generateConfig.ts b/scripts/generateConfig.ts index 6c5dd06e..da1fc667 100644 --- a/scripts/generateConfig.ts +++ b/scripts/generateConfig.ts @@ -17,14 +17,17 @@ interface IConfigFields { description: I18n; template: 'input-switch' | 'input'; text: string; + // --- + disable: boolean; + category: string; } const templatePrefix = '$:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/'; -const tiddlersInfo = Object.entries(tiddlers) as unknown as Array< - [string, IConfigFields] ->; +const tiddlersInfo = Object.entries(tiddlers).filter( + (i) => !i[1].disable +) as unknown as Array<[string, IConfigFields]>; const dir = path.join( 'src', @@ -43,14 +46,15 @@ let multidcontentEn = 'title: $:/language/codemirror6/\n\n'; // zh let multidcontentZH = 'title: $:/language/codemirror6/zh/\n\n'; -tiddlersInfo.forEach(([title, fields]) => { +tiddlersInfo.forEach(([title, fields], index) => { // TODO: update caption let { caption, icon = '📝', description = caption, template, - text = 'no' + text = 'no', + category = 'general' } = fields; const captionEn = @@ -72,6 +76,8 @@ caption-zh: {{$:/language/codemirror6/zh/${title}/caption}} description: {{$:/language/codemirror6/${title}/description}} description-zh: {{$:/language/codemirror6/zh/${title}/description}} settings-template: ${templatePrefix}${template} +id: ${index + 1} +settings-group: ${category} ${text}`; diff --git a/src/tiddlywiki-codemirror-6/config/index.ts b/src/tiddlywiki-codemirror-6/config/index.ts index e548cdd9..0eff9c83 100644 --- a/src/tiddlywiki-codemirror-6/config/index.ts +++ b/src/tiddlywiki-codemirror-6/config/index.ts @@ -20,12 +20,20 @@ function getConfig(title: string) { // NOTE: 对应配置的 caption 不要写成 TxxxBxxx 格式。 type ITiddlerConfig = { + disable?: boolean; caption: { zh: string; en: string; }; text?: string | number; icon?: string; + category?: + | 'vim' + | 'general' + | 'markdown' + | 'placeholder' + | 'completion' + | 'fold'; description?: { zh: string; en: string; @@ -52,13 +60,6 @@ export const tiddlers = defineConfig({ en: 'Use Sound' } }, - insertModeFirst: { - caption: { - zh: 'VIM自动进入插入模式', - en: 'Insert Mode Auto Firstly' - }, - text: 'no' - }, // EditorHeight: { // caption: { // zh: '最大高度', @@ -77,26 +78,23 @@ export const tiddlers = defineConfig({ en: 'Max Lines' } }, - todobox: { + foldByIndent: { caption: { - zh: '代办事项复选框(MD)', - en: 'Task checkbox' - } + zh: '按缩进折叠', + en: 'Fold By Indent' + }, + category: 'fold' }, - checkbox: { + foldGutter: { caption: { - zh: '复选框(JS)', - en: 'Checkbox' + zh: '折叠', + en: 'Fold Gutter' }, + icon: '📂', + category: 'fold', description: { - zh: '适用于tiddler类型为javascript, 用于切换常量的布尔值, 普通用户建议关闭', - en: 'Checkbox' - } - }, - foldByIndent: { - caption: { - zh: '按缩进折叠', - en: 'Fold By Indent' + zh: '为代码启用折叠。', + en: 'Enable folding gutter for code.' } }, removeOutline: { @@ -127,54 +125,65 @@ export const tiddlers = defineConfig({ en: 'Line Wrapping' } }, + // vim + vimmode: { + caption: { + zh: 'Vim 模式', + en: 'Vim Mode' + }, + icon: '🎮', + category: 'vim', + description: { + zh: '启用文本编辑的 Vim 模式。', + en: 'Enable Vim mode for text editing.' + } + }, vimJK: { caption: { zh: 'Vim JK', en: "vim keyboard mapping JK(You know what I'm saying.)" }, + category: 'vim', description: { zh: '快速退出插入模式', en: 'Fast Exit Insert Mode' } }, + insertModeFirst: { + caption: { + zh: 'VIM自动进入插入模式', + en: 'Insert Mode Auto Firstly' + }, + category: 'vim', + text: 'no' + }, // matchText: { // caption: { // zh: '匹配文本', // en: 'Match Text' // } // }, - commentComplete: { - caption: { - zh: '注释中开启补全', - en: 'Comment Complete' - }, - description: { - zh: '注释中开启补全', - en: 'Comment Complete' - } - }, - footer: { - caption: { - zh: '页脚', - en: 'Footer' - }, - icon: '📝', - description: { - zh: '显示代码片段来源', - en: 'Show snippets footer' - } - }, - debug: { - caption: { - zh: '调试(实验性)', - en: 'Debug(experimental)' - }, - icon: '🐞', - description: { - zh: '在控制台上显示 codemirror6 的日志', - en: 'Sebug for codemirror on console' - } - }, + // commentComplete: { + // caption: { + // zh: '注释中开启补全', + // en: 'Comment Complete' + // }, + // description: { + // zh: '注释中开启补全', + // en: 'Comment Complete' + // } + // }, + // debug: { + // caption: { + // zh: '调试(实验性)', + // en: 'Debug(experimental)' + // }, + // icon: '🐞', + // description: { + // zh: '在控制台上显示 codemirror6 的日志', + // en: 'Sebug for codemirror on console' + // } + // }, activateOnTyping: { caption: { zh: '开启自动补全', @@ -188,6 +197,7 @@ export const tiddlers = defineConfig({ } }, inlineSuggestion: { + disable: true, caption: { zh: '内联建议(实验性)', en: 'Inline Suggestion (Experimental)' @@ -289,17 +299,6 @@ export const tiddlers = defineConfig({ en: 'Enable highlighting of trailing whitespace.' } }, - enableSystemTiddlersCompletion: { - caption: { - zh: '启用系统 Tiddlers 完成', - en: 'Enable System Tiddlers Completion' - }, - icon: '🔄', - description: { - zh: '更多关于系统条目标题的补全提示', - en: 'Enable completion for system tiddlers.' - } - }, closeOnBlur: { caption: { zh: '失焦关闭', @@ -312,17 +311,6 @@ export const tiddlers = defineConfig({ en: 'Automatically close on blur.' } }, - foldGutter: { - caption: { - zh: '折叠', - en: 'Fold Gutter' - }, - icon: '📂', - description: { - zh: '为代码启用折叠。', - en: 'Enable folding gutter for code.' - } - }, // translate: { // caption: { // zh: '翻译', @@ -334,17 +322,6 @@ export const tiddlers = defineConfig({ // en: 'Enable translation.' // } // }, - rtl: { - caption: { - zh: 'RTL', - en: 'RTL' - }, - icon: '↔️', - description: { - zh: '启用从右到左的文本方向(不建议开启)', - en: 'Enable Right-to-Left text direction.' - } - }, onedark: { caption: { zh: '启用 One Dark 主题', @@ -386,6 +363,7 @@ export const tiddlers = defineConfig({ en: 'Custom Placeholder' }, icon: '🖊️', + category: 'placeholder', description: { zh: '启用设置自定义占位符。', en: 'Set a custom placeholder.' @@ -398,6 +376,7 @@ export const tiddlers = defineConfig({ }, text: '✨ Write something ✒️ ...', icon: '✏️️', + category: 'placeholder', description: { zh: '设置自定义的占位符', en: 'Set the default placeholder text.' @@ -427,18 +406,6 @@ export const tiddlers = defineConfig({ en: 'Set the rate at which the cursor blinks (in milliseconds).' } }, - minLength: { - caption: { - zh: '最小自动补全检测长度', - en: 'Min Length' - }, - text: 1, - icon: '📏', - description: { - zh: '设置自动补全最小长度。1为立刻触发', - en: 'Set the minimum length for input.' - } - }, delimiter: { caption: { zh: '分隔符', @@ -485,42 +452,6 @@ export const tiddlers = defineConfig({ en: 'Automatically close brackets.' } }, - selectOnOpen: { - caption: { - zh: '自动选择补全项', - en: 'Select on Open' - }, - text: 'yes', - icon: '🔄', - description: { - zh: '自动选择补全项', - en: 'Automatically select on open.' - } - }, - autocompleteIcons: { - caption: { - zh: '自动完成图标', - en: 'Autocomplete Icons' - }, - text: 'yes', - icon: '🎨', - description: { - zh: '在自动完成建议中启用图标。', - en: 'Enable icons in autocomplete suggestions.' - } - }, - maxRenderedOptions: { - caption: { - zh: '自动补全每页数量', - en: 'Max Rendered Options' - }, - text: 20, - icon: '🔍', - description: { - zh: '设置自动完成中渲染的选项的最大数量。', - en: 'Set the maximum number of rendered options in autocomplete.' - } - }, // spellcheck: { // caption: { // zh: '拼写检查', @@ -567,15 +498,55 @@ export const tiddlers = defineConfig({ en: 'Enable matching of brackets.' } }, - vimmode: { + autocompleteIcons: { caption: { - zh: 'Vim 模式', - en: 'Vim Mode' + zh: '自动完成图标', + en: 'Autocomplete Icons' }, - icon: '🎮', + category: 'completion', + text: 'yes', + icon: '🎨', description: { - zh: '启用文本编辑的 Vim 模式。', - en: 'Enable Vim mode for text editing.' + zh: '在自动完成建议中启用图标。', + en: 'Enable icons in autocomplete suggestions.' + } + }, + footer: { + caption: { + zh: '页脚', + en: 'Footer' + }, + category: 'completion', + icon: '📝', + description: { + zh: '显示代码片段来源', + en: 'Show snippets footer' + } + }, + minLength: { + caption: { + zh: '最小自动补全检测长度', + en: 'Min Length' + }, + category: 'completion', + text: 1, + icon: '📏', + description: { + zh: '设置自动补全最小长度。1为立刻触发', + en: 'Set the minimum length for input.' + } + }, + selectOnOpen: { + caption: { + zh: '自动选择补全项', + en: 'Select on Open' + }, + text: 'yes', + category: 'completion', + icon: '🔄', + description: { + zh: '自动选择补全项', + en: 'Automatically select on open.' } }, completeAnyWord: { @@ -583,12 +554,38 @@ export const tiddlers = defineConfig({ zh: '单词补全', en: 'Complete Any Word' }, + category: 'completion', icon: '🔄', description: { zh: '如果当前编辑区域有重复输入的单词,重复输入时会提示', en: 'Enable completion for any word.' } }, + enableSystemTiddlersCompletion: { + caption: { + zh: '启用系统 Tiddlers 完成', + en: 'Enable System Tiddlers Completion' + }, + icon: '🔄', + category: 'completion', + description: { + zh: '更多关于系统条目标题的补全提示', + en: 'Enable completion for system tiddlers.' + } + }, + maxRenderedOptions: { + caption: { + zh: '自动补全每页数量', + en: 'Max Rendered Options' + }, + category: 'completion', + text: 20, + icon: '🔍', + description: { + zh: '设置自动完成中渲染的选项的最大数量。(样式高度待调整)', + en: 'Set the maximum number of rendered options in autocomplete.' + } + }, lineNumbers: { caption: { zh: '行号', @@ -636,6 +633,33 @@ export const tiddlers = defineConfig({ zh: 'tw 语法高亮(实验性)', en: 'tw systax highlight (experimental)' } + }, + todobox: { + caption: { + zh: '代办事项复选框(MD)', + en: 'Task checkbox' + } + }, + checkbox: { + caption: { + zh: '复选框(JS)', + en: 'Checkbox' + }, + description: { + zh: '适用于tiddler类型为javascript, 用于切换常量的布尔值, 普通用户建议关闭', + en: 'Checkbox' + } + }, + rtl: { + caption: { + zh: 'RTL', + en: 'RTL' + }, + icon: '↔️', + description: { + zh: '启用从右到左的文本方向(中文不建议开启)', + en: 'Enable Right-to-Left text direction.' + } } }); diff --git a/src/tiddlywiki-codemirror-6/plugin.info b/src/tiddlywiki-codemirror-6/plugin.info index 468db28a..3aea252c 100644 --- a/src/tiddlywiki-codemirror-6/plugin.info +++ b/src/tiddlywiki-codemirror-6/plugin.info @@ -2,7 +2,7 @@ "title": "$:/plugins/oeyoews/tiddlywiki-codemirror-6", "name": "CodeMirror6", "description": "CodeMirror 6 editor", - "version": "2.2.2", + "version": "2.3.0", "core-version": ">=5.3.4", "list": "readme usage" } \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/activateOnTyping.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/activateOnTyping.tid index 45ea5576..620bfe58 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/activateOnTyping.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/activateOnTyping.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/activateOnTyping/caption}} description: {{$:/language/codemirror6/activateOnTyping/description}} description-zh: {{$:/language/codemirror6/zh/activateOnTyping/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 10 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/autocompleteIcons.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/autocompleteIcons.tid index 6422a19b..f8575e94 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/autocompleteIcons.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/autocompleteIcons.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/autocompleteIcons/caption}} description: {{$:/language/codemirror6/autocompleteIcons/description}} description-zh: {{$:/language/codemirror6/zh/autocompleteIcons/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 33 +settings-group: completion yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/bracketMatching.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/bracketMatching.tid index 2c9ffcd0..effe427e 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/bracketMatching.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/bracketMatching.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/bracketMatching/caption}} description: {{$:/language/codemirror6/bracketMatching/description}} description-zh: {{$:/language/codemirror6/zh/bracketMatching/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 32 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/checkbox.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/checkbox.tid index c52b9f01..948b942c 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/checkbox.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/checkbox.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/checkbox/caption}} description: {{$:/language/codemirror6/checkbox/description}} description-zh: {{$:/language/codemirror6/zh/checkbox/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 45 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable-icon.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable-icon.tid index e35de2a9..02b61de8 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable-icon.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable-icon.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/clickable-icon/caption}} description: {{$:/language/codemirror6/clickable-icon/description}} description-zh: {{$:/language/codemirror6/zh/clickable-icon/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 21 +settings-group: general 🐟 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable.tid index 11dad8dd..ceffdc7d 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/clickable.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/clickable/caption}} description: {{$:/language/codemirror6/clickable/description}} description-zh: {{$:/language/codemirror6/zh/clickable/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 22 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeBrackets.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeBrackets.tid index f9b0dc66..8b2ba030 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeBrackets.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeBrackets.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/closeBrackets/caption}} description: {{$:/language/codemirror6/closeBrackets/description}} description-zh: {{$:/language/codemirror6/zh/closeBrackets/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 30 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeOnBlur.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeOnBlur.tid index 9d6b10bc..d68ca306 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeOnBlur.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/closeOnBlur.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/closeOnBlur/caption}} description: {{$:/language/codemirror6/closeOnBlur/description}} description-zh: {{$:/language/codemirror6/zh/closeOnBlur/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 19 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/commentComplete.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/commentComplete.tid deleted file mode 100644 index 980b216c..00000000 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/commentComplete.tid +++ /dev/null @@ -1,8 +0,0 @@ -title: $:/config/codemirror-6/commentComplete -caption: {{$:/language/codemirror6/commentComplete/caption}} -caption-zh: {{$:/language/codemirror6/zh/commentComplete/caption}} -description: {{$:/language/codemirror6/commentComplete/description}} -description-zh: {{$:/language/codemirror6/zh/commentComplete/description}} -settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch - -no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/completeAnyWord.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/completeAnyWord.tid index de89d45b..8dc66e8e 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/completeAnyWord.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/completeAnyWord.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/completeAnyWord/caption}} description: {{$:/language/codemirror6/completeAnyWord/description}} description-zh: {{$:/language/codemirror6/zh/completeAnyWord/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 37 +settings-group: completion no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-en.multids b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-en.multids index 625356f3..c6e4ace3 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-en.multids +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-en.multids @@ -2,32 +2,24 @@ title: $:/language/codemirror6/ useSound/caption: 📝 Use Sound useSound/description: Use Sound -insertModeFirst/caption: 📝 Insert Mode Auto Firstly -insertModeFirst/description: Insert Mode Auto Firstly lines/caption: 📝 Lines lines/description: Max Lines -todobox/caption: 📝 Task checkbox -todobox/description: Task checkbox -checkbox/caption: 📝 Checkbox -checkbox/description: Checkbox foldByIndent/caption: 📝 Fold By Indent foldByIndent/description: Fold By Indent +foldGutter/caption: 📂 Fold Gutter +foldGutter/description: Enable folding gutter for code. removeOutline/caption: 📝 Remove editor outline removeOutline/description: remove editor outline lineWrapping/caption: 📝 Line Wrapping lineWrapping/description: Line Wrapping +vimmode/caption: 🎮 Vim Mode +vimmode/description: Enable Vim mode for text editing. vimJK/caption: 📝 Vim keyboard mapping JK(You know what I'm saying.) vimJK/description: Fast Exit Insert Mode -commentComplete/caption: 📝 Comment Complete -commentComplete/description: Comment Complete -footer/caption: 📝 Footer -footer/description: Show snippets footer -debug/caption: 🐞 Debug(experimental) -debug/description: Sebug for codemirror on console +insertModeFirst/caption: 📝 Insert Mode Auto Firstly +insertModeFirst/description: Insert Mode Auto Firstly activateOnTyping/caption: 🚀 Activate on Typing activateOnTyping/description: Enable activation on typing for enhanced functionality. -inlineSuggestion/caption: 🔍 Inline Suggestion (Experimental) -inlineSuggestion/description: Experimental feature for inline suggestions. tiddlerPreview/caption: 📑 Tiddler Preview tiddlerPreview/description: Enable preview for tiddlers. snippetPreview/caption: 📝 Snippet Preview @@ -44,16 +36,8 @@ whitespace/caption: 🔍 Highlight Whitespace whitespace/description: Enable highlighting of whitespace. highlightTrailingWhitespace/caption: 🔍 Highlight Trailing Whitespace highlightTrailingWhitespace/description: Enable highlighting of trailing whitespace. -enableSystemTiddlersCompletion/caption: 🔄 Enable System Tiddlers Completion -enableSystemTiddlersCompletion/description: Enable completion for system tiddlers. closeOnBlur/caption: 🔒 Close on Blur closeOnBlur/description: Automatically close on blur. -foldGutter/caption: 📂 Fold Gutter -foldGutter/description: Enable folding gutter for code. -rtl/caption: ↔️ RTL -rtl/description: Enable Right-to-Left text direction. -cursor-thickness/caption: 🚸 Cursor Thickness -cursor-thickness/description: Set the thickness of the cursor. onedark/caption: 🌒 Enable One Dark Theme onedark/description: Enable the One Dark theme. clickable-icon/caption: 🖱️ Clickable Icon @@ -64,10 +48,10 @@ enableCustomPlaceholder/caption: 🖊️ Custom Placeholder enableCustomPlaceholder/description: Set a custom placeholder. placeholder/caption: ✏️️ Placeholder placeholder/description: Set the default placeholder text. +cursor-thickness/caption: 🚸 Cursor Thickness +cursor-thickness/description: Set the thickness of the cursor. cursorBlinkRate/caption: ⚡ Cursor Blink Rate cursorBlinkRate/description: Set the rate at which the cursor blinks (in milliseconds). -minLength/caption: 📏 Min Length -minLength/description: Set the minimum length for input. delimiter/caption: 🔍 Delimiter delimiter/description: Set the delimiter for certain operations. minimap/caption: 🗺️ Minimap @@ -76,20 +60,24 @@ minimapAudoHide/caption: 🗺️ Minimap autohide minimapAudoHide/description: Automatically hide minimap closeBrackets/caption: 🔄 Close Brackets closeBrackets/description: Automatically close brackets. -selectOnOpen/caption: 🔄 Select on Open -selectOnOpen/description: Automatically select on open. -autocompleteIcons/caption: 🎨 Autocomplete Icons -autocompleteIcons/description: Enable icons in autocomplete suggestions. -maxRenderedOptions/caption: 🔍 Max Rendered Options -maxRenderedOptions/description: Set the maximum number of rendered options in autocomplete. indentWithTab/caption: 🔄 Indent with Tab indentWithTab/description: Indent with tab instead of spaces. bracketMatching/caption: 🔄 Bracket Matching bracketMatching/description: Enable matching of brackets. -vimmode/caption: 🎮 Vim Mode -vimmode/description: Enable Vim mode for text editing. +autocompleteIcons/caption: 🎨 Autocomplete Icons +autocompleteIcons/description: Enable icons in autocomplete suggestions. +footer/caption: 📝 Footer +footer/description: Show snippets footer +minLength/caption: 📏 Min Length +minLength/description: Set the minimum length for input. +selectOnOpen/caption: 🔄 Select on Open +selectOnOpen/description: Automatically select on open. completeAnyWord/caption: 🔄 Complete Any Word completeAnyWord/description: Enable completion for any word. +enableSystemTiddlersCompletion/caption: 🔄 Enable System Tiddlers Completion +enableSystemTiddlersCompletion/description: Enable completion for system tiddlers. +maxRenderedOptions/caption: 🔍 Max Rendered Options +maxRenderedOptions/description: Set the maximum number of rendered options in autocomplete. lineNumbers/caption: 🔢 Line Numbers lineNumbers/description: Show line numbers for better code navigation. highlightActiveLine/caption: 🔍 Highlight Active Line @@ -98,3 +86,9 @@ tabSize/caption: 🔍 Tab Size tabSize/description: Set the size of tabs. enableTWMode/caption: Tw systax highlight (experimental) enableTWMode/description: tw systax highlight (experimental) +todobox/caption: 📝 Task checkbox +todobox/description: Task checkbox +checkbox/caption: 📝 Checkbox +checkbox/description: Checkbox +rtl/caption: ↔️ RTL +rtl/description: Enable Right-to-Left text direction. diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-zh.multids b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-zh.multids index fd76dc8f..8aed008b 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-zh.multids +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/config-zh.multids @@ -2,32 +2,24 @@ title: $:/language/codemirror6/zh/ useSound/caption: 📝 使用声音 useSound/description: 插件neotw-play-sound提供声音支持 -insertModeFirst/caption: 📝 VIM自动进入插入模式 -insertModeFirst/description: VIM自动进入插入模式 lines/caption: 📝 自动生成行数 lines/description: 新建tiddler自动生成N行 -todobox/caption: 📝 代办事项复选框(MD) -todobox/description: 代办事项复选框(MD) -checkbox/caption: 📝 复选框(JS) -checkbox/description: 适用于tiddler类型为javascript, 用于切换常量的布尔值, 普通用户建议关闭 foldByIndent/caption: 📝 按缩进折叠 foldByIndent/description: 按缩进折叠 +foldGutter/caption: 📂 折叠 +foldGutter/description: 为代码启用折叠。 removeOutline/caption: 📝 移除编辑器边框 removeOutline/description: 移除编辑器边框(配置待修复, 更改配置无效, 默认是移除) lineWrapping/caption: 📝 自动换行 lineWrapping/description: 自动换行 +vimmode/caption: 🎮 Vim 模式 +vimmode/description: 启用文本编辑的 Vim 模式。 vimJK/caption: 📝 Vim JK vimJK/description: 快速退出插入模式 -commentComplete/caption: 📝 注释中开启补全 -commentComplete/description: 注释中开启补全 -footer/caption: 📝 页脚 -footer/description: 显示代码片段来源 -debug/caption: 🐞 调试(实验性) -debug/description: 在控制台上显示 codemirror6 的日志 +insertModeFirst/caption: 📝 VIM自动进入插入模式 +insertModeFirst/description: VIM自动进入插入模式 activateOnTyping/caption: 🚀 开启自动补全 activateOnTyping/description: 关闭后,可以 `CTRL+SPACE` 手动触发 -inlineSuggestion/caption: 🔍 内联建议(实验性) -inlineSuggestion/description: 内联建议的实验性功能。 tiddlerPreview/caption: 📑 Tiddler 预览 tiddlerPreview/description: 启用 tiddlers 的预览。 snippetPreview/caption: 📝 代码片段预览 @@ -44,16 +36,8 @@ whitespace/caption: 🔍 高亮空格 whitespace/description: 启用空格的高亮显示。 highlightTrailingWhitespace/caption: 🔍 高亮尾随空格 highlightTrailingWhitespace/description: 启用尾随空格的高亮显示。 -enableSystemTiddlersCompletion/caption: 🔄 启用系统 Tiddlers 完成 -enableSystemTiddlersCompletion/description: 更多关于系统条目标题的补全提示 closeOnBlur/caption: 🔒 失焦关闭 closeOnBlur/description: 光标不在编辑区域时, 自动隐藏自动补全弹窗 -foldGutter/caption: 📂 折叠 -foldGutter/description: 为代码启用折叠。 -rtl/caption: ↔️ RTL -rtl/description: 启用从右到左的文本方向(不建议开启) -cursor-thickness/caption: 🚸 光标厚度 -cursor-thickness/description: 设置光标的宽度 onedark/caption: 🌒 启用 One Dark 主题 onedark/description: 启用 One Dark 主题。 clickable-icon/caption: 🖱️ 点击图标 @@ -64,32 +48,36 @@ enableCustomPlaceholder/caption: 🖊️ 启用自定义占位符 enableCustomPlaceholder/description: 启用设置自定义占位符。 placeholder/caption: ✏️️ 占位符 placeholder/description: 设置自定义的占位符 -cursorBlinkRate/caption: ⚡ 光标闪烁速率 +cursor-thickness/caption: 🚸 光标宽度 +cursor-thickness/description: 设置光标的宽度 +cursorBlinkRate/caption: ⚡ 光标闪烁速度 cursorBlinkRate/description: 设置光标闪烁的速率(以毫秒为单位),设置为 0 禁用闪烁 -minLength/caption: 📏 最小自动补全检测长度 -minLength/description: 设置自动补全最小长度。1为立刻触发 delimiter/caption: 🔍 分隔符 -delimiter/description: 显示代码片段(注意不要设置和其他的触发符号相同导致冲突) +delimiter/description: 显示代码片段(注意不要设置和其他的触发符号相同导致冲突, 配置生效需要重启tiddlywiki) minimap/caption: 🗺️ 小地图 minimap/description: 启用右侧小地图 minimapAudoHide/caption: 🗺️ 小地图自动隐藏 minimapAudoHide/description: 自动隐藏小地图 closeBrackets/caption: 🔄 自动关闭括号 closeBrackets/description: 自动关闭括号。 -selectOnOpen/caption: 🔄 自动选择补全项 -selectOnOpen/description: 自动选择补全项 -autocompleteIcons/caption: 🎨 自动完成图标 -autocompleteIcons/description: 在自动完成建议中启用图标。 -maxRenderedOptions/caption: 🔍 自动补全每页数量 -maxRenderedOptions/description: 设置自动完成中渲染的选项的最大数量。 indentWithTab/caption: 🔄 制表符缩进 indentWithTab/description: 使用制表符进行缩进,而不是空格。 bracketMatching/caption: 🔄 括号匹配 bracketMatching/description: 启用括号匹配。 -vimmode/caption: 🎮 Vim 模式 -vimmode/description: 启用文本编辑的 Vim 模式。 +autocompleteIcons/caption: 🎨 自动完成图标 +autocompleteIcons/description: 在自动完成建议中启用图标。 +footer/caption: 📝 页脚 +footer/description: 显示代码片段来源 +minLength/caption: 📏 最小自动补全检测长度 +minLength/description: 设置自动补全最小长度。1为立刻触发 +selectOnOpen/caption: 🔄 自动选择补全项 +selectOnOpen/description: 自动选择补全项 completeAnyWord/caption: 🔄 单词补全 completeAnyWord/description: 如果当前编辑区域有重复输入的单词,重复输入时会提示 +enableSystemTiddlersCompletion/caption: 🔄 启用系统 Tiddlers 完成 +enableSystemTiddlersCompletion/description: 更多关于系统条目标题的补全提示 +maxRenderedOptions/caption: 🔍 自动补全每页数量 +maxRenderedOptions/description: 设置自动完成中渲染的选项的最大数量。(样式高度待调整) lineNumbers/caption: 🔢 行号 lineNumbers/description: 开启行号 highlightActiveLine/caption: 🔍 高亮当前行 @@ -98,3 +86,9 @@ tabSize/caption: 🔍 制表符大小 tabSize/description: 设置制表符的大小。 enableTWMode/caption: tw 语法高亮(实验性) enableTWMode/description: tw 语法高亮(实验性) +todobox/caption: 📝 代办事项复选框(MD) +todobox/description: 代办事项复选框(MD) +checkbox/caption: 📝 复选框(JS) +checkbox/description: 适用于tiddler类型为javascript, 用于切换常量的布尔值, 普通用户建议关闭 +rtl/caption: ↔️ RTL +rtl/description: 启用从右到左的文本方向(中文不建议开启) diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursor-thickness.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursor-thickness.tid index 167649db..37fdd5f4 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursor-thickness.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursor-thickness.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/cursor-thickness/caption}} description: {{$:/language/codemirror6/cursor-thickness/description}} description-zh: {{$:/language/codemirror6/zh/cursor-thickness/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 25 +settings-group: general 1px \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursorBlinkRate.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursorBlinkRate.tid index 27b26ba6..48e8dd6a 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursorBlinkRate.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/cursorBlinkRate.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/cursorBlinkRate/caption}} description: {{$:/language/codemirror6/cursorBlinkRate/description}} description-zh: {{$:/language/codemirror6/zh/cursorBlinkRate/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 26 +settings-group: general 1000 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/debug.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/debug.tid deleted file mode 100644 index d34a9da8..00000000 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/debug.tid +++ /dev/null @@ -1,8 +0,0 @@ -title: $:/config/codemirror-6/debug -caption: {{$:/language/codemirror6/debug/caption}} -caption-zh: {{$:/language/codemirror6/zh/debug/caption}} -description: {{$:/language/codemirror6/debug/description}} -description-zh: {{$:/language/codemirror6/zh/debug/description}} -settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch - -no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/delimiter.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/delimiter.tid index afe91b71..6f7a50e4 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/delimiter.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/delimiter.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/delimiter/caption}} description: {{$:/language/codemirror6/delimiter/description}} description-zh: {{$:/language/codemirror6/zh/delimiter/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 27 +settings-group: general / \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableCustomPlaceholder.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableCustomPlaceholder.tid index 45e8458f..59a58dfc 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableCustomPlaceholder.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableCustomPlaceholder.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/enableCustomPlaceholder/caption}} description: {{$:/language/codemirror6/enableCustomPlaceholder/description}} description-zh: {{$:/language/codemirror6/zh/enableCustomPlaceholder/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 23 +settings-group: placeholder no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableSystemTiddlersCompletion.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableSystemTiddlersCompletion.tid index a0fc5440..bf85771d 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableSystemTiddlersCompletion.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableSystemTiddlersCompletion.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/enableSystemTiddlersCompletion/caption} description: {{$:/language/codemirror6/enableSystemTiddlersCompletion/description}} description-zh: {{$:/language/codemirror6/zh/enableSystemTiddlersCompletion/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 38 +settings-group: completion no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableTWMode.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableTWMode.tid index de811f3c..5f03ca00 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableTWMode.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/enableTWMode.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/enableTWMode/caption}} description: {{$:/language/codemirror6/enableTWMode/description}} description-zh: {{$:/language/codemirror6/zh/enableTWMode/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 43 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldByIndent.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldByIndent.tid index 7e5bda68..62301edf 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldByIndent.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldByIndent.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/foldByIndent/caption}} description: {{$:/language/codemirror6/foldByIndent/description}} description-zh: {{$:/language/codemirror6/zh/foldByIndent/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 3 +settings-group: fold no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldGutter.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldGutter.tid index 63c03965..bc4b4316 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldGutter.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/foldGutter.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/foldGutter/caption}} description: {{$:/language/codemirror6/foldGutter/description}} description-zh: {{$:/language/codemirror6/zh/foldGutter/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 4 +settings-group: fold no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontFamily.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontFamily.tid index d6db5823..02ddc838 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontFamily.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontFamily.tid @@ -4,4 +4,6 @@ caption-zh: {{$:/language/codemirror6/zh/fontFamily/caption}} description: {{$:/language/codemirror6/fontFamily/description}} description-zh: {{$:/language/codemirror6/zh/fontFamily/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 14 +settings-group: general diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontsize.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontsize.tid index 56902c50..fb221a55 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontsize.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/fontsize.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/fontsize/caption}} description: {{$:/language/codemirror6/fontsize/description}} description-zh: {{$:/language/codemirror6/zh/fontsize/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 15 +settings-group: general 16px \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/footer.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/footer.tid index d63569c5..5564e83c 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/footer.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/footer.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/footer/caption}} description: {{$:/language/codemirror6/footer/description}} description-zh: {{$:/language/codemirror6/zh/footer/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 34 +settings-group: completion no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightActiveLine.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightActiveLine.tid index 4f5dfaa4..62b776d9 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightActiveLine.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightActiveLine.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/highlightActiveLine/caption}} description: {{$:/language/codemirror6/highlightActiveLine/description}} description-zh: {{$:/language/codemirror6/zh/highlightActiveLine/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 41 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightTrailingWhitespace.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightTrailingWhitespace.tid index c0aa5a19..412c2264 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightTrailingWhitespace.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/highlightTrailingWhitespace.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/highlightTrailingWhitespace/caption}} description: {{$:/language/codemirror6/highlightTrailingWhitespace/description}} description-zh: {{$:/language/codemirror6/zh/highlightTrailingWhitespace/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 18 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/indentWithTab.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/indentWithTab.tid index 4bec6ba4..3cac7e34 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/indentWithTab.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/indentWithTab.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/indentWithTab/caption}} description: {{$:/language/codemirror6/indentWithTab/description}} description-zh: {{$:/language/codemirror6/zh/indentWithTab/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 31 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/inlineSuggestion.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/inlineSuggestion.tid deleted file mode 100644 index d8d82f7a..00000000 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/inlineSuggestion.tid +++ /dev/null @@ -1,8 +0,0 @@ -title: $:/config/codemirror-6/inlineSuggestion -caption: {{$:/language/codemirror6/inlineSuggestion/caption}} -caption-zh: {{$:/language/codemirror6/zh/inlineSuggestion/caption}} -description: {{$:/language/codemirror6/inlineSuggestion/description}} -description-zh: {{$:/language/codemirror6/zh/inlineSuggestion/description}} -settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch - -no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/insertModeFirst.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/insertModeFirst.tid index 874d4366..bdad11eb 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/insertModeFirst.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/insertModeFirst.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/insertModeFirst/caption}} description: {{$:/language/codemirror6/insertModeFirst/description}} description-zh: {{$:/language/codemirror6/zh/insertModeFirst/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 9 +settings-group: vim no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineNumbers.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineNumbers.tid index f8d22a49..5f4e9f09 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineNumbers.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineNumbers.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/lineNumbers/caption}} description: {{$:/language/codemirror6/lineNumbers/description}} description-zh: {{$:/language/codemirror6/zh/lineNumbers/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 40 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineWrapping.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineWrapping.tid index 34c7b845..6f1f014a 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineWrapping.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lineWrapping.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/lineWrapping/caption}} description: {{$:/language/codemirror6/lineWrapping/description}} description-zh: {{$:/language/codemirror6/zh/lineWrapping/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 6 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lines.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lines.tid index 2af31cf6..6fbc0cbb 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lines.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/lines.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/lines/caption}} description: {{$:/language/codemirror6/lines/description}} description-zh: {{$:/language/codemirror6/zh/lines/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 2 +settings-group: general 1 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/linkPreview.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/linkPreview.tid index 1478bac3..f6ff405c 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/linkPreview.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/linkPreview.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/linkPreview/caption}} description: {{$:/language/codemirror6/linkPreview/description}} description-zh: {{$:/language/codemirror6/zh/linkPreview/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 13 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/maxRenderedOptions.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/maxRenderedOptions.tid index 311ebd26..f75b80be 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/maxRenderedOptions.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/maxRenderedOptions.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/maxRenderedOptions/caption}} description: {{$:/language/codemirror6/maxRenderedOptions/description}} description-zh: {{$:/language/codemirror6/zh/maxRenderedOptions/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 39 +settings-group: completion 20 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minLength.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minLength.tid index 80a29f73..5db2c6be 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minLength.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minLength.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/minLength/caption}} description: {{$:/language/codemirror6/minLength/description}} description-zh: {{$:/language/codemirror6/zh/minLength/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 35 +settings-group: completion 1 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimap.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimap.tid index a91781dc..bcc48057 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimap.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimap.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/minimap/caption}} description: {{$:/language/codemirror6/minimap/description}} description-zh: {{$:/language/codemirror6/zh/minimap/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 28 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimapAudoHide.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimapAudoHide.tid index 5d7d57c5..0fb8f07d 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimapAudoHide.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/minimapAudoHide.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/minimapAudoHide/caption}} description: {{$:/language/codemirror6/minimapAudoHide/description}} description-zh: {{$:/language/codemirror6/zh/minimapAudoHide/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 29 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/onedark.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/onedark.tid index 9fa802da..330c582b 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/onedark.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/onedark.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/onedark/caption}} description: {{$:/language/codemirror6/onedark/description}} description-zh: {{$:/language/codemirror6/zh/onedark/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 20 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/placeholder.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/placeholder.tid index f52c9c27..245999d4 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/placeholder.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/placeholder.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/placeholder/caption}} description: {{$:/language/codemirror6/placeholder/description}} description-zh: {{$:/language/codemirror6/zh/placeholder/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 24 +settings-group: placeholder ✨ Write something ✒️ ... \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/removeOutline.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/removeOutline.tid index 73238ca3..558770db 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/removeOutline.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/removeOutline.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/removeOutline/caption}} description: {{$:/language/codemirror6/removeOutline/description}} description-zh: {{$:/language/codemirror6/zh/removeOutline/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 5 +settings-group: general yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/rtl.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/rtl.tid index 014acf9b..a3eb5388 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/rtl.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/rtl.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/rtl/caption}} description: {{$:/language/codemirror6/rtl/description}} description-zh: {{$:/language/codemirror6/zh/rtl/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 46 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/selectOnOpen.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/selectOnOpen.tid index e13fecb6..cf224157 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/selectOnOpen.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/selectOnOpen.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/selectOnOpen/caption}} description: {{$:/language/codemirror6/selectOnOpen/description}} description-zh: {{$:/language/codemirror6/zh/selectOnOpen/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 36 +settings-group: completion yes \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/snippetPreview.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/snippetPreview.tid index 7f921740..2e458f22 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/snippetPreview.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/snippetPreview.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/snippetPreview/caption}} description: {{$:/language/codemirror6/snippetPreview/description}} description-zh: {{$:/language/codemirror6/zh/snippetPreview/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 12 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tabSize.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tabSize.tid index ff97a17c..f3641848 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tabSize.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tabSize.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/tabSize/caption}} description: {{$:/language/codemirror6/tabSize/description}} description-zh: {{$:/language/codemirror6/zh/tabSize/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input +id: 42 +settings-group: general 2 \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tiddlerPreview.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tiddlerPreview.tid index 6d1ad38a..abf63b65 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tiddlerPreview.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/tiddlerPreview.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/tiddlerPreview/caption}} description: {{$:/language/codemirror6/tiddlerPreview/description}} description-zh: {{$:/language/codemirror6/zh/tiddlerPreview/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 11 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/todobox.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/todobox.tid index a539fadd..53dbf088 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/todobox.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/todobox.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/todobox/caption}} description: {{$:/language/codemirror6/todobox/description}} description-zh: {{$:/language/codemirror6/zh/todobox/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 44 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/useSound.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/useSound.tid index a01ab66d..5ee180d3 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/useSound.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/useSound.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/useSound/caption}} description: {{$:/language/codemirror6/useSound/description}} description-zh: {{$:/language/codemirror6/zh/useSound/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 1 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimJK.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimJK.tid index de75715f..db66a781 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimJK.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimJK.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/vimJK/caption}} description: {{$:/language/codemirror6/vimJK/description}} description-zh: {{$:/language/codemirror6/zh/vimJK/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 8 +settings-group: vim no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimmode.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimmode.tid index 4677fe3b..91f421c1 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimmode.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/vimmode.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/vimmode/caption}} description: {{$:/language/codemirror6/vimmode/description}} description-zh: {{$:/language/codemirror6/zh/vimmode/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 7 +settings-group: vim no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/whitespace.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/whitespace.tid index 4ddf91f2..8e9946f9 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/whitespace.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/whitespace.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/whitespace/caption}} description: {{$:/language/codemirror6/whitespace/description}} description-zh: {{$:/language/codemirror6/zh/whitespace/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 17 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/wordCount.tid b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/wordCount.tid index 3a87142f..032517be 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/wordCount.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/auto-generated-config/wordCount.tid @@ -4,5 +4,7 @@ caption-zh: {{$:/language/codemirror6/zh/wordCount/caption}} description: {{$:/language/codemirror6/wordCount/description}} description-zh: {{$:/language/codemirror6/zh/wordCount/description}} settings-template: $:/plugins/oeyoews/tiddlywiki-codemirror-6/ui/templates/settings/input-switch +id: 16 +settings-group: general no \ No newline at end of file diff --git a/src/tiddlywiki-codemirror-6/tiddlers/ui/ControlPanel/settings.tid b/src/tiddlywiki-codemirror-6/tiddlers/ui/ControlPanel/settings.tid index 37e6e2a0..3e2462e5 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/ui/ControlPanel/settings.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/ui/ControlPanel/settings.tid @@ -6,7 +6,7 @@ mask-closable: yes subtitle: {{||$:/esc}} \define sortBySettingsGroupFilter() -[get[settings-group]!is[blank]else[!general]] [get[settings-group-header]!is[blank]else[99]] +[join[]] +[get[settings-group]!is[blank]else[!general]] [get[id]!is[blank]else[99]] +[join[]] \end diff --git a/src/tiddlywiki-codemirror-6/tiddlers/ui/EditorToolbar/toggleEditor.tid b/src/tiddlywiki-codemirror-6/tiddlers/ui/EditorToolbar/toggleEditor.tid index ca2258b5..0aa67845 100644 --- a/src/tiddlywiki-codemirror-6/tiddlers/ui/EditorToolbar/toggleEditor.tid +++ b/src/tiddlywiki-codemirror-6/tiddlers/ui/EditorToolbar/toggleEditor.tid @@ -3,8 +3,7 @@ caption: Toggle Editor description: use codemirror-6 or not condition: [] icon: $:/plugins/oeyoews/tiddlywiki-codemirror-6/icon - - +tags: $:/tags/EditorToolbar <$let type={{{ [get[type]else[text/vnd.tiddlywiki]] }}}