Tab completion is not working
Different issue to #34 as I've defined known tags within .filategs file.
Fresh venv and I also created a poetry shell - in both environments, tab-completion isn't working: instead of completing known tags, it actually enters a tab space into the tagging prompt line.
(filetags-py3.12) filetags [master●] % poetry install
Installing dependencies from lock file
Package operations: 4 installs, 0 updates, 0 removals
- Installing args (0.1.0)
- Installing clint (0.5.1)
- Installing colorama (0.4.6)
- Installing pyreadline3 (3.4.1)
Installing the current project: filetags (2024.06.28.1)
I have no idea what I may check. Can it be an issue related to the Terminal emulator? Or an issue with the readline library (there were some issues in the past on Windows as I remember)?
I can tab-complete tags.
Despite working tab-completion (in the same run), I do not see any tag-suggestion(s).
I assume, tag-suggestions should at least be visible, when I
- execute filetags in interactive mode
- have one to nine predefined tags in the relevant ".filetags.txt"-file
- and type relevant text.
filetags: actual version, 2024-06-28 (init.py file) system: Debian GNU/Linux 12 (bookworm) xfce, xfce4-terminal and gnome-terminal (for tab-completion and tab-suggestions, tried both terminals).
I can tab-complete tags.
So then this is the wrong issue in any case. ;-)
Despite working tab-completion (in the same run), I do not see any tag-suggestion(s).
I assume, tag-suggestions should at least be visible, when I * execute filetags in interactive mode * have one to nine predefined tags in the relevant ".filetags.txt"-file * and type relevant text.
Thanks for summarizing your assumptions.
This is not correct. Tag suggestions are not based on your controlled vocabulary in one of your .filetags.txt file(s). They are based on previously tagged files within the same directory.
If you still do have an issue with tag suggestions, please do open up a new issue for that as this has nothing to do with this one.
Thank you very much for the fast answer.
I opened a seperate issue #75 after some more testing.