indiepocalypse.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Inspired by itch.io - a place for independent creators of all sorts. If you create and publish independent art, comics, music, table top games, video games or the written word, you're welcome here.

Server stats:

68
active users

Hey my fellow Helix users.. I’m at a loss here so help me out!

Is there any keybind to cycle LSP code completions for a method with multiple parameter versions like in C++?

Example:

QWidget->setFocus()

Gives me an auto-complete with one result:

setFocus() -> void (1/2)

How do I cycle through these two?
The normal tab/shift tab do nothing, neither does ctrl-p/n nor up/down

Heals :heart_nb:
Quiet public

@beeb yeah, what the issue describes is exactly my problem

Jonas Greitemann
Public

@heals That would be Alt-n and Alt-p. It is not currently possible to remap those, unfortunately.
docs.helix-editor.com/keymap.h

docs.helix-editor.comKeymap
Heals :heart_nb:
Public

@jgreitemann I will have to see if I can get that translated to macOS properly.. it seems that neither option-n/p nor command-n/p do anything :blobhaj_thinking:

Jonas Greitemann
Public

@heals Which terminal emulator are you using? With Alacritty, I had to set window.option_as_alt on macOS. For me the pain point is that Zellij’s default keymap intercepts Alt-n so I end up only cycling through the overloads backwards 🤡

Heals :heart_nb:
Public

@jgreitemann I'm using kitty but I already have their version (macos_option_as_alt) set so it should see left-option as alt.. always fun to figure out why your specific terminal does things differently!