aws / aws/amazon-q-developer-cli

Autocomplete position incorrect in Windsurf Editor

Open
#300 8 comments 4 reactions 0 assignees View on GitHub
bug Integration
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [X] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [X] I have run `q doctor` in the affected terminal session
- [X] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.2.0 (24C101)

### Expected behaviour

The autocomplete window should open directly under/over the cursor inside windsurfs terminal. It should also follow the cursor when typing.

### Actual behaviour

The autocomplete window opens at the last position if i had a different terminal open (wezterm, vscode terminal, MacOS terminal). If there was no terminal open since the start it will open in the very bottom left or in the very center of the screen.

### Steps to reproduce

- Install & open windsurf editor
- open terminal and type `cd ` to trigger autocomplete

### Environment

```yaml
[q-details]
version = "1.5.1"
hash = "43f92e418e96c7beaa3e881f299241c15ba65900"
date = "2024-12-13T00:53:22.005531Z (7d ago)"
variant = "full"

[system-info]
os = "macOS 15.2.0 (24C101)"
chip = "Apple M1 Pro"
total-cores = 8
memory = "32.00 GB"

[environment]
cwd = "/Users/USER/dev/work/myapp"
cli-path = "/Users/USER/dev/work/myapp"
os = "Mac"
shell-path = "/opt/homebrew/Cellar/zsh/5.9/bin/zsh"
shell-version = "5.9"
terminal = "Windsurf"
install-method = "brew"

[env-vars]
PATH = "/Users/USER/.codeium/windsurf/bin:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/USER/.codeium/windsurf/bin:/Users/USER/.deno/bin:/Users/USER/Library/pnpm:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/Users/USER/.local/bin:/Users/USER/Library/Android/sdk/emulator:/Users/USER/Library/Android/sdk/platform-tools:/Users/USER/.pub-cache/bin"
QTERM_SESSION_ID = "bb3445b63b044b98bc9c2d7f95fa7756"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.5.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/Users/USER"
__CFBundleIdentifier = "com.exafunction.windsurf"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.