Completion: labels in \ref commands
Submitted by Maximilien Richer
Link to original bug (#748069)
Description
Created attachment 301864 git patch
This is an proof of concept for the dynamic completion of the \ref command using labels, for technical review only.
FEATURES
- Parse documents at load and at save, looking for labels.
- When a document is opened, look for other documents inside the same folder, open them in background and parse them.
- When editing a file, the completion provider use only labels parsed from files from the same directory.
KNOW BUG
- When writing after a \ref, the completion provider keep a message saying he can not provide completion
IMPROVEMENTS
- Don't only parse the same folder in background, but the entire file tree
Patch 301864, "git patch":
ref-completion_alpha_0.3.patch