Skip to content
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

Works in terminal but not in VSCode terminal #1293

Closed
lextirajoh opened this issue Apr 10, 2022 · 7 comments
Closed

Works in terminal but not in VSCode terminal #1293

lextirajoh opened this issue Apr 10, 2022 · 7 comments
Labels
awaiting user reply codebase:_UNSURE_ terminal:VSCode Issues related to Visual Studios Code type:bug Something isn't working

Comments

@lextirajoh
Copy link

Description:

Fig works like it should in Terminal (Mac), but it doesn't work in the VSCode integrated terminal.

I have "editor.accessibilitySupport" set to off.
In the Fig preferences, VScode is not disabled.

Thank you.

Details:

OS Fig Shell
macOS 11.6.5 (20G527) 1.0.56 /bin/zsh
fig diagnostic

Fig Diagnostics

Fig details:

  • Fig version: Version 1.0.56 (B421) [Dutch]
  • 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: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/alexti/.local/bin:/Users/alexti/.fig/bin:/Users/alexti/.local/bin:/Users/alexti/.local/bin
  • SecureKeyboardInput: false
  • SecureKeyboardProcess:

Hardware Info:

  • Model Name: MacBook Air
  • Model Identifier: MacBookAir6,2
  • Chip:
  • Cores: 2
  • Memory: 8 GB

OS Info:

  • macOS 11.6.5 (20G527)

Environment:

  • User Shell: /bin/zsh
  • Current Directory: /Users/alexti
  • CLI Installed: true
  • Executable Location: /usr/local/bin/fig
  • Current Window ID: 12852/% (com.apple.Terminal)
  • Active Process: zsh (15979) - /dev/ttys001
  • Environment Variables:
    • TERM=xterm-256color
    • TERM_SESSION_ID=86C074E3-1520-433B-AFA2-77E98603AB34
    • PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/alexti/.local/bin:/Users/alexti/.fig/bin:/Users/alexti/.local/bin:/Users/alexti/.local/bin
    • FIG_INTEGRATION_VERSION=8
    • FIG_TERM=1
    • FIG_TERM_VERSION=4.3.0

Integrations:

  • SSH: false
  • TMUX: false
  • iTerm: application is not present.
  • Hyper: application is not present.
  • Visual Studio Code: installed!
  • Docker: false

@mschrage
Copy link
Member

Hey @lextir! Thanks for reporting. Can you share the version of VSCode that you are using?

@mschrage mschrage added type:bug Something isn't working terminal:VSCode Issues related to Visual Studios Code codebase:_UNSURE_ awaiting user reply labels Apr 11, 2022
@lextirajoh
Copy link
Author

Version: 1.66.1 (Universal)

@mschrage
Copy link
Member

Can you run fig doctor --verbose in the VSCode terminal?

@lextirajoh
Copy link
Author

Yes, I get this in the VS code terminal:

Let's check if you're logged in...
✔ Logged into Fig

Let's check your dotfiles...
✔ .bashrc contains valid fig hooks
✔ .profile contains valid fig hooks
✔ .zshrc contains valid fig hooks
✔ .zprofile contains valid fig hooks

Let's make sure Fig is running...
✔ Fig bin exists
✔ PATH contains ~/.local/bin and ~/.fig/bin
✔ Fig Integration
✔ Fig is running
✔ Fig socket exists
✔ Daemon
✔ Figterm socket
✔ Insertion lock does not exist
✔ PATH and PseudoTerminal PATH match

Let's check if your system is compatible...
✔ OS is supported

Let's check fig diagnostic...
✔ Installation script
✔ Compatible shell
✔ Fig app installed in the right place
✔ Autocomplete is enabled
✔ Fig CLI path
✔ Accessibility enabled
✔ Secure keyboard input disabled

Let's check your terminal integrations...
✔ VSCode integration is enabled


Fig still not working? Run fig issue to let us know!
Or, email us at hello@fig.io!

@mschrage
Copy link
Member

Is VSCode full-screen? If so, this might be related to #1229

@lextirajoh
Copy link
Author

Ah indeed, this is the same issue. It only doesn't work in full-screen. With the default terminal app the same happens.

@mschrage
Copy link
Member

Thanks for reporting @lextir! I am actively working on this. A fix should go out in the next release.

I'm going to close this as a duplicate of #1229.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user reply codebase:_UNSURE_ terminal:VSCode Issues related to Visual Studios Code type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants