Feature #33425
openAuto complete wiki macros
0%
Description
The attached patch adds an auto-complete feature for wiki macros. The patch can be applied after updating Tribute with the patch #33424.
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 issues
Updated by Go MAEDA over 4 years ago
- Blocked by Patch #33424: Update Tribute to 5.1.3 added
Updated by Go MAEDA over 4 years ago
- Related to Feature #30986: New toolbar button to insert wiki macros added
Updated by Go MAEDA over 4 years ago
- File 33425.patch 33425.patch added
Sorry, I forgot to attach a patch.
Updated by Go MAEDA over 4 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA over 4 years ago
- Target version changed from Candidate for next major release to 4.2.0
Let's include this feature in 4.2.0.
Updated by Mizuki ISHIKAWA over 4 years ago
- File 33425-v2.patch 33425-v2.patch added
I Fixed so that macro completion does not work in the search form in the upper right.
Updated by Mizuki ISHIKAWA about 4 years ago
- File 33425_v3.patch 33425_v3.patch added
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'`.
Updated by Marius BĂLTEANU about 4 years ago
- 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.
Updated by Marius BĂLTEANU about 4 years ago
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.
Updated by Marius BĂLTEANU about 4 years ago
- Related to Feature #33820: Auto complete wiki page links added
Updated by Marius BĂLTEANU about 4 years ago
- Related to Feature #31989: Inline issue auto complete (#) in fields with text-formatting enabled added