Custom dictionary complement
It suggests and completes the text with words in ๐ Custom dictionaries.
Images¶
Settings of the above demo are as follows.
- โ๏ธ Enable Custom dictionary complement:
ON
(required) - โ๏ธ Custom dictionary paths:
_Privates/dictionary-test.md
- โ๏ธ Column delimiter:
Tab
- โ๏ธWord regex pattern:
- โ๏ธ Delimiter to hide a suggestion:
- โ๏ธ Delimiter to divide suggestions for display from ones for insertion:
- โ๏ธ Caret location symbol after complement:
<CARET>
Requirements¶
It needs to enable a โ๏ธ Enable Custom dictionary complement option and specify โ๏ธ Custom dictionary paths.
How do we create custom dictionaries?¶
Please see ๐ Custom dictionaries. You can also register words on ๐ผ๏ธ Add a word to a custom dictionary dialog opened by ๐ฎ Add a word to a custom dictionary or ๐ฑ๏ธ Add to custom dictionary context menu.
When does it update tokens?¶
- After executing a ๐ฎ Reload custom dictionaries command
- After registering from ๐ผ๏ธ Add a word to a custom dictionary dialog
- During starting Obsidian
- After enabling this plugin
- After some settings are updated
For details, you can see ๐ผ๏ธ Status bar.
Related Options¶
- โ๏ธ Enable Custom dictionary complement
- โ๏ธ Custom dictionary paths
- โ๏ธ Column delimiter
- โ๏ธWord regex pattern
- โ๏ธ Delimiter to hide a suggestion
- โ๏ธ Delimiter to divide suggestions for display from ones for insertion
- โ๏ธ Caret location symbol after complement
- โ๏ธ Displayed text suffix
Matching logic¶
- If โ๏ธ Match strategy is
prefix
- Prefix match (Ignore prefix-emoji)
Obs
matches bothObsidian
and๐Obsidian
- case-insensitive
- Prefix match (Ignore prefix-emoji)
- If โ๏ธ Match strategy is
partial
- Partial match
- case-insensitive