withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Autcomplete not working (anymore) on Intellij 2022.3 #2120

Closed imanAzi closed 1 year ago

imanAzi commented 1 year ago

Checks

Operating system

macOS 12.6.0 (21G115)

Expected behaviour

Last Friday autocomplete worked in Intellij Ultimate 2022.3 terminal, today it doesn't. I expect to open the terminal in Intellij and that I can use the Fig autocomplete function.

Actual behaviour

When opening terminal in Intellij, Fig autocomplete doesn't work. When running 'fig doctor', I get the following result:

✘ Figterm: Figterm socket write timed out after 1s

✘ Doctor found errors. Please fix them and try again.

I have restarted Intellij, 'fig restart', restarted my mac but It still doesn't work and 'fig doctor' keeps giving the same error. Autocomplete does work on Iterm2 terminal.

Steps to reproduce

1) Open Intellij Ultimate 2022.3 2) Open terminal in Intellij Ultimate 2022.3 3) type linux commands for autocompletion

Environment

fig-details:
  - 2.8.0
hardware-info:
  - model: 
  - model-id: 
  - chip-id: Apple M1 Pro
  - cores: 10
  - mem: 16.00 GB
os-info:
  - macOS 12.6.0 (21G115)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - PATH: /Users/iazimnia/go/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/local/bin/brew:/usr/local/bin/:/Users/iazimnia/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/iazimnia/go/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/local/bin/brew:/usr/local/bin/:/Users/iazimnia/.fig/bin:/Users/iazimnia/.local/bin:/Users/iazimnia/Library/Application
    - FIG_PID: 88580
    - FIGTERM_SESSION_ID: a8b54709-1500-431c-b298-30fde9f1bd3c
    - SHELL: /bin/zsh
    - FIG_TERM: 2.8.0
    - FIG_SET_PARENT_CHECK: 1
    - TERM: xterm-256color
    - __CFBundleIdentifier: com.jetbrains.intellij
    - FIG_SET_PARENT: a8b54709-1500-431c-b298-30fde9f1bd3c
    - FIG_HOSTNAME: BEG2N52LV45C
imanAzi commented 1 year ago

After some troubleshooting, I seem to fixed it:

grant0417 commented 1 year ago

Hey @imanAzi, sorry for the long delay on this but we just released 2.11 which should hopefully resolve these issues!

Let me know if this fixes the issue

felixfrey commented 1 year ago

Hey @grant0417, I reinstalled fig and I'm now running 2.11, I still face the same problem as @imanAzi!

felixfrey commented 1 year ago

Update: The issue resolved after I restarted my Mac.

grant0417 commented 1 year ago

@imanAzi, does it work for you now after a restart?

github-actions[bot] commented 1 year ago

This issue has been automatically closed because there has been no activity for 14 days.