Open nexxai opened 2 years ago
Same thing was happening for me.
I'm using fig since couple of months, the autocompletion box always worked fine. But it stopped working since few days.
I had few days ago an error from Fig saying that because of one of my app "Logi Options+", the "Secure Text Entry" wasn't working as usual. And that I had to log out from my computer account, and log back to fix it.
However I did it, nothing changed, I ran Fig doctor, nothing changed. I just ran "Fig restart" and the completion box is back.
### Details:
|OS|Fig|Shell|
|-|-|-|
|macOS 12.5.1 (21G83)|1.0.60|/bin/zsh|
fig diagnostic
# Fig Diagnostics
## Fig details:
- Fig version: Version 1.0.60 (B502) [French – Numerical]
- Bundle path: /Applications/Fig.app
- Autocomplete: true
- Settings.json: true
- Accessibility: true
- Number of specs: 0
- Symlinked dotfiles: false
- Only insert on tab: false
- Keybindings path:
- Installation Script: true
- PseudoTerminal Path: /Users/pinpon/.local/share/fig/plugins/git-open:/Users/pinpon/.nvm/versions/node/v16.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/pinpon/.fig/bin:/Users/pinpon/.local/bin:/Users/pinpon/.local/share/fig/plugins/git-flow:/Users/pinpon/.local/share/fig/plugins/ugit_Bhupesh-V
- SecureKeyboardInput: false
- SecureKeyboardProcess: <none>
## Hardware Info:
- Model Name: MacBook Air
- Model Identifier: MacBookAir10,1
- Chip: Apple M1
- Cores: 8 (4 performance and 4 efficiency)
- Memory: 8 GB
## OS Info:
- macOS 12.5.1 (21G83)
## Environment:
- User Shell: /bin/zsh
- Current Directory: /Users/pinpon/lacapsule
- CLI Installed: true
- Executable Location: /Users/pinpon/.fig/bin/fig
- Current Window ID: 1669/% (com.googlecode.iterm2)
- Active Process: zsh (72493) - not a tty
- Terminal: iterm
- Environment Variables:
- FIG_INTEGRATION_VERSION=8
- FIG_TERM=1
- FIG_TERM_VERSION=5.1.0
- PATH=/Users/pinpon/.local/share/fig/plugins/git-open:/Users/pinpon/.nvm/versions/node/v16.16.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/pinpon/.fig/bin:/Users/pinpon/.local/bin:/Users/pinpon/.local/share/fig/plugins/git-flow:/Users/pinpon/.local/share/fig/plugins/ugit_Bhupesh-V
- TERM=xterm-256color
- TERM_SESSION_ID=w0t0p0:98149220-1EF3-4AC7-A66B-8C188079D7B4
- FIG_PID=72493
## Integrations:
- SSH: false
- TMUX: false
- iTerm: installed!
- Hyper: application is not present.
- Visual Studio Code: installed!
- Docker: false
Not that this necessarily "solves" anything, but I switched from using Spaceship prompt (tried installing via homebrew AND by using the Fig plugin; both had the same issue) to using Starship and now it works. Thinking Spaceship did something that broke the integration with Fig.
I'll leave this open in case the devs want to keep investigating, but I'm satisfied with Starship that I have no direct need to keep troubleshooting Spaceship.
Thanks for the additional context about Spaceship prompt @nexxai. We'll try to reproduce and figure out the conflict.
@pinpontitit are you still experiencing problems getting autocomplete to appear? If so, would you mind creating a new GitHub issue since I think the underlying cause is different in your case.
Not that this necessarily "solves" anything, but I switched from using Spaceship prompt (tried installing via homebrew AND by using the Fig plugin; both had the same issue) to using Starship and now it works. Thinking Spaceship did something that broke the integration with Fig.
I'll leave this open in case the devs want to keep investigating, but I'm satisfied with Starship that I have no direct need to keep troubleshooting Spaceship.
This worked for me. Thanks!
Sanity checks
fig doctor
in the affected terminal sessionfig restart
and tested again (tell us if that fixed it)Issue Details
Description:
I'm having a problem where the autocomplete box isn't appearing. It will show up in the initial "Here's how to use fig" walkthrough thing, but after that, it never comes back.
I've tried removing all traces of fig (~/.fig, ~/Library/Application Support/fig, ~/Library/Caches/com.mschrage.fig, ~/Library/Preferences/com.mschrage.fig*, ~/Library/WebKit/com.mschrage.fig, ~/Library/HTTPStorages/com.mschrage.fig), and running
fig uninstall
, and then attempting to reinstall, but nothing changes.I've confirmed that fig has a check in the Security & Privacy -> Accessibility -> Privacy preferences panel and that it is running the correct plugins (e.g. the "You Should Use" plugin is correctly detecting that I'm not using the right alias and suggests the correct one), so I know it's running.
I tried running
export FIG_LOG_LEVEL=debug
in one terminal and then runningfig debug logs
in another but Github is sayingThere was an error creating your Issue: body is too long (maximum is 65536 characters).
so I've put them here: https://pastebin.com/H0Y1CmAiEnvironment