-
Notifications
You must be signed in to change notification settings - Fork 2
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
VSCode terminal support #1
Comments
If this occurs in the shell version of apparix (supported in this repository) then I can assist. However, this shell version works for me in VSCode terminal, so I reckon you may be using the (much older) C version of apparix. The C version was also written by me but I no longer support it. If you already use this shell version, let me know (it will be puzzling). |
Since I can't install anything using apt or yum, I am confident that I am running the version from this repository. Let me know what information you need from me to start tracking this down :) The only thing that does not seem to work is when I try to do auto-complete for a subdirectory of a bookmark. i.e. </home/sharon_snyder/work/git> $ bm git </home/sharon_snyder/work/git> $ to git my ------- no autocompletion happens when in vscode terminal window I do the same thing from my ssh shell window, and it works fine |
What is the output of |
the command apparix does not exist - I have only the . file |
Sorry, that should be |
the same result in both environments: /home/sharon_snyder/work/git |
Can you try |
Let me know if this is still an issue you'd like to pursue, otherwise I'll close it. |
Unclear if this was solved or not. |
sorry to not respond sooner - I did try that (as the script told me to do so when I source it), and that does not work either in vs code - I can try it in an ssh window as well if you think it helpful |
Ah ok, an intriguing puzzle, thank you for persisting. What shell are you running, bash, or zsh? Could you give the output of |
I use bash. The output of $BASH --version in vscode is:
bind -P output in vscode:
There is no output when I do the "env | grep -i apparix" command. I tried apparish and app instead of apparix, and still nothing. The remote server is running Ubuntu 20.04.3 LTS (focal) |
Thank you .. it's been a while since I was immersed in bash completion and input bindings, and I can't say I ever really understood all the shenanigans. I'm now wondering if VScode is stealing your |
I have nagging feeling it may be some VScode setting (that I solved it in the past and forgot how). From https://stackoverflow.com/questions/63759337/how-to-enable-git-autocomplete-in-integrated-terminal-in-vscode There is also https://stackoverflow.com/questions/35519538/visual-studio-code-tab-key-does-not-insert-a-tab Also see previous comment, if you could try |
The git a and and all work in my vscode - they autocomplete to git commands starting with 'a'. I will read those stack overflow links and see if I can get any further |
Could you try, in a VScode terminal,
and then try complete e.g. with |
running the bind command and it is the same result - no autocomplete for the subdirectories |
Are you running VScode on Windows, Mac or another system? I see quite a large number of differences between your key-bindings and mine. I'm running out of sane ideas to test; one thing that came to mind was to test this on a bookmark that's not called |
I am running on Windows 11, and even using another bookmark, still same thing - no subdirectory autocomplete. If I type out the subdirectory, it works as expected, but not the auto-complete |
I'm not sure I am putting this in the correct location, but I am using VSCode to a remote server, and when I try to do a completion to a subdirectory of my bookmark it does not work. I assume this has something to do with running the shell from within the VSCode IDE, but cannot figure out what I need to do to get that to work. It works fine with my regular shell. Let me know what info you need from me to assist.
Thanks
The text was updated successfully, but these errors were encountered: