Tab completion not working in version 4.0.1 on macOS
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
A issue não menciona arquivos nem testes. Comece reproduzindo o comportamento de Tab no pgcli no macOS e rastreie o tratamento de conclusão e vinculação de teclas. O trabalho estará concluído quando Tab aceitar de forma confiável a instrução sugerida ou houver uma opção de configuração documentada que altere esse comportamento sem editar o código-fonte.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Description
When I start typing a statement, and pgcli suggests the complete statement in gray, and I just want to accept it, I try to hit Tab and instead focus the menu. I have to hit the right arrow key to select the suggested statement. This is strange compared to other editors.
Worse, sometimes hitting tab just cuts off what I'm typing.
Desired Behavior
I would like to be able to use Tab to select the suggested statement. I can already use the down arrow to select the first completion menu item. I should at least be able to change this in the config file. There is no documentation about this.
However, there seems to be a lot of back-and-forth on keybindings and why we can't do this and that on keybindings in pgcli because of the way Python works, the library we're using, etc. which don't make sense to me as a developer, because the user should be able to configure these and not worry about hacking source just for keybindings. Please give us a documented way to change these without needing to edit source code.
Your environment
macOS Sonoma 14.1.2 / Terminal / pgcli installed via homebrew
pip freeze main
altgraph @ file:///AppleInternal/Library/BuildRoots/dc12d579-7d9b-11ee-af04-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/python3/altgraph-0.17.2-py2.py3-none-any.whl
future @ file:///AppleInternal/Library/BuildRoots/dc12d579-7d9b-11ee-af04-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/python3/future-0.18.2-py3-none-any.whl
macholib @ file:///AppleInternal/Library/BuildRoots/dc12d579-7d9b-11ee-af04-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/python3/macholib-1.15.2-py2.py3-none-any.whl
six @ file:///AppleInternal/Library/BuildRoots/dc12d579-7d9b-11ee-af04-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/python3/six-1.15.0-py2.py3-none-any.whl
- Linguagem predominante
- Python
- Estrelas
- 13.4k
- Forks
- 610
- Merge médio
- 14min
- PRs com merge (30d)
- 2
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de dbcli/pgcli
-
# is not as -- in PostgreSQLTalvez já em andamento @DiegoDAF assumiu há 26 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 64/100
dbcli/pgcli#1646 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Replace the pgclirc ConfigObj parser while preserving configuration compatibilityTalvez já em andamento @jackwalkerlabs assumiu há 36 dias. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
dbcli/pgcli#1608 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
dbcli/pgcli#1607 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de dbcli/pgcli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
infrastructure qa
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
khuisman/mcp-gee-sweet#1068 ·
Mantenedores costumam responder em até 1 dia
-
The book has a Nix install section that chelis.ch lacks, and it names two of the three systemsAbertaarea:ecosystem documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Chelis-Lang/chelis#3866 ·
Mantenedores costumam responder em até 1 dia
-
`lvm_compact` has no self-hosted twin, and `docs/158` §5 says every language-face component mustAbertabug sev-3 vm
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
-
issue: Picking a prompt from the / menu in a channel inserts a command chip instead of the promptAbertabug confirmed issue
Dificuldade 2/5 Meio dia Facilidade para iniciantes 78/100
open-webui/open-webui#32712 · 2 comentários ·
Mantenedores costumam responder em até 1 dia