obsidian-occura-plugin README

README проекта с github.com/Krusty84/obsidian-occura-plugin. Одним файлом markdown: README.md.

Occura Plugin: highlighting word occurrences

Why another plugin?

I couldn't find the usual functionality that I used in Notepad++ or different IDEs, where double-clicking on a word immediately showed me how often it appears in the open document.

Features

Release 1.6.3

Support for Obsidian color schemes has been added, thanks to dear werunom for the idea. image

image

Release 1.6.2

This release stabilizes occurrence matching and navigation across Source Mode, Live Preview, and Reading View. Counts now cover the complete note, Unicode word boundaries are supported, short selections are debounced, and permanent highlight/tag commands avoid protected Markdown regions.

Keyboard shortcuts are configured through Obsidian Settings → Hotkeys. Occura does not install global keyboard handlers or reserve built-in Find shortcuts.

Release 1.6.1

No new features. Some issues has been fixed.

Release 1.6.0

New features has been added:

  1. Dynamic occurrences highlighting, words classes highlighting now works in Reading View too, not only in Source or Live Preview mode
image

2. Added navigation between occurrences with new commands and configurable hotkeys: - Go to next occurrence - Go to previous occurrence image

image

3. Added support for highlighting repeated phrases with spaces, not only single words image

image

4. Added a context menu action to quickly add the selected word into an existing word class image

image

Release 1.5.1

No new features. Various minor issues with Obsidian's expansion quality rating system have been resolved, I hope. I'm preparing for more functionality, so stay tuned for updates.

Release 1.5.0

New features has been added:

  1. You can create classes of words with individual colors, for example terms from different domains, parasite words, etc
image

Release 1.4.1:

The issues with selecting special chartes like $ # % @ has beein fixed, thanks dear Logovaz26

Release 1.4.0:

New features has been added:

  1. Added case insensitivity mode for dynamic word selection

  2. Keywords can be uploaded/downloaded to/from a plain text file with a comma separator between words

  3. Added a reset button to default settings

image

Release 1.3.2:

Some bugs have been fixed, thanks dear BlackUdon

Release 1.3.1:

Some bugs have been fixed, thanks dear BlackUdon

Release 1.3.0:

Automatic highlighting of keywords (It works only in Source or Live preview mode!)

New settings has been added image

New command has been added

image

Release 1.2.0:

Convert found occurrences to tags (It works only in Source or Live preview mode!)

New command has been added

image

Release 1.1.0:

Permanent Highlighting for found occurrences (It works only in Source or Live preview mode!)

New command has been added:

  1. Set permanently highlight for occurrences
  2. Remove permanently highlight for occurrences

image

When Occura has highlighted the available occurrences, call the command: Set permanently highlight for occurrences and then the occurrences will be highlighted by the regular for Obsidian.md by color

image

And call the: Remove permanently highlight for occurrences command to remove the previously set highlight

Release 1.0.0:

Basic functionality

Installing the plugin

Manually installing the plugin

For platform and mode verification, see MANUAL_TESTING.md.

License

MIT

Author

Alexey Sedoykin

obsidian-occura-plugin (Krusty84/obsidian-occura-plugin)

Ищем в базе…

Что это?Плагин сообщества для Obsidian, который подсвечивает все остальные вхождения слова или фразы, по которому вы дважды щёлкнули в открытой заметке, чтобы было видно, как часто оно встречается.
Это отдельное приложение или что-то внутри Obsidian?Это плагин, который работает внутри Obsidian, а не отдельная программа. Его можно установить из «Плагинов сообщества» или вручную скопировать его файлы в хранилище.
Как его запустить?Откройте настройки Obsidian, перейдите в «Плагины сообщества», выберите «Обзор», найдите Occura Plugin, установите его и включите. При ручной установке скопируйте main.js и manifest.json в папку .obsidian/plugins/obsidian-occura-plugin/ вашего хранилища и включите плагин в «Плагинах сообщества».
Нужно ли что-то кроме Obsidian?Нет. В README упоминается только сам Obsidian, никакие дополнительные сервисы, учётные записи или API-ключи не нужны.
Работает ли он во всех режимах Obsidian?Не полностью. Автоматическая подсветка ключевых слов, постоянная подсветка и команды преобразования в теги работают только в режимах Source и Live Preview. Подсветка слов по классам также работает в режиме Reading View начиная с версии 1.6.0.
Зачем автор сделал это, если уже есть готовые инструменты?Автору не хватало привычки из Notepad++ и IDE: дважды щёлкнуть по слову, чтобы увидеть, сколько раз оно встречается в открытом документе. Подходящего плагина для Obsidian, который делал бы это, он не нашёл.
Можно ли объединять слова в цветные классы?Да. Начиная с версии 1.5.0 можно создавать классы слов с отдельными цветами, например для терминов из разных предметных областей или слов-паразитов, и добавлять выделенное слово в класс через контекстное меню.
Умеет ли он искать фразы и не учитывать регистр?Да. Плагин подсвечивает повторяющиеся фразы из нескольких слов, а не только отдельные слова, и умеет искать без учёта регистра. Ключевые слова можно импортировать и экспортировать в текстовый файл с разделителями-запятыми.
Можно ли превратить найденные вхождения в постоянную подсветку или теги?Да. Команды могут установить или убрать постоянную подсветку для вхождений, а другая превращает найденные вхождения в теги. Всё это работает в режимах Source и Live Preview.
Автор
Krusty84
Размер
0.3 MB
Звёзды
345
Возраст
2 г
Коммиты · 90 дней