Feature #33425
open
Auto complete wiki macros
Added by Go MAEDA over 4 years ago.
Updated almost 4 years ago.
Description
The attached patch adds an auto-complete feature for wiki macros. The patch can be applied after updating Tribute with the patch #33424.
![](/attachments/download/25390/macro-auto-complete.png)
The macros are useful, however, those are a bit long to type by hand. And it is also hard for some people to remember. I think these inconveniences can be eliminated by supporting auto-complete for wiki macros.
Files
- Related to Feature #30986: New toolbar button to insert wiki macros added
Sorry, I forgot to attach a patch.
- Target version set to Candidate for next major release
- Target version changed from Candidate for next major release to 4.2.0
Let's include this feature in 4.2.0.
I Fixed so that macro completion does not work in the search form in the upper right.
- Assignee set to Marius BĂLTEANU
With 33425_v2.patch, there was a problem that tribute would be re-initialized even if it was already initialized.
Fix to initialize only when `element.dataset.tribute != 'true'`.
- File 33425_v4.patch 33425_v4.patch added
- Assignee deleted (
Marius BĂLTEANU)
- Target version changed from 4.2.0 to Candidate for next major release
We should use collection
to add a new trigger, please see an example attached.
The patch is still not ready because the concern raised by Bernhard and Jean-Philippe in #30986#note-7 is still available and I agree with them, we need a method to describe the macros and how to use them.
Another limitation of the patch in the current state is the hardcoded macros values which makes very hard for plugin developers that add new macros to add them to the auto complete as well.
- Related to Feature #31989: Inline issue auto complete (#) in fields with text-formatting enabled added
Also available in: Atom
PDF