aws / aws/amazon-q-developer-cli
Autocomplete position incorrect in Windsurf Editor
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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"
```
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem in Windsurf mit dem gemeldeten macOS- und zsh-Setup, indem du zunächst wie beschrieben q doctor und q restart ausführst. Verfolge die Positionierung der CLI-Autovervollständigung ab dem `cd `-Trigger und vergleiche sie mit anderen Terminals. Die Aufgabe ist erledigt, wenn sich das Fenster unter oder über dem Cursor öffnet und ihm beim Tippen folgt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust, zsh
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100