New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name auto-complete (add display name option) does not work when linking with ID #5103
Comments
One thing: When pasting, this does not have any autocomplete, so naturally this won't work. Regarding the ID typing, I have to double-check, but this list of numbers that you see I can't remember having implemented that. Usually, there is only one entry and Zettlr chooses whether to use the ID or the name based on your settings. |
That's strange, I remembered in 2.3.0 I used to be able to Ctrl + V and get a single autocomplete suggestion entry that I can just press Enter and have the name filled in a similar manner to linking by file name. Is this new behaviour with the ID an intended change? If not I can try retesting it later. About the list of number/ID, I don't know if this helps but the context that that happened in was after I closed my main workspace and open up the Zettlr tutorial workspace to make the screen capture (since I didn't want to accidentally leak something with personal notes). Just a wild guess but could it be something caching related? |
Since these IDs need to be cached in the FSAL, this is definitely a chance. One explanation for the "pasting and get one entry" could be a change in behavior from CM5 to CM6. It could be that, if you paste something that EXACTLY matches an entry, that CM6 simply doesn't bother showing you that (which, for a simple autocomplete, makes absolute sense). I'd have to investigate this. Feel free to also play around a bit, the more info is in this thread, the less I have to poke at it. |
Description
Summary: The name auto-complete no longer works when linking with ID.
Behaviour: When linking with the ID by typing out [[]], Zettlr doesn't add the title/display name of the note nor suggest auto-completion for the title/display name. However, it does work when linking using the title/display name itself.
Expected Behaviour: When linking with ID, auto-completion should work similarly to linking with the display name.
Video:
Reproducing
Zettlr Version
Stable (most recent version)
Specify version
Zettlr 3.0.5
Installation Method
From the Website or GitHub
Your Platform
Architecture
Operating System Version
Windows 11
Additional Information
Also tested on Ubuntu 22.04 VM with the latest build from develop branch.
The text was updated successfully, but these errors were encountered: