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

Function Completion: keystroke to cycle through choices #11950

Closed
pryrt opened this issue Jul 28, 2022 · 1 comment
Closed

Function Completion: keystroke to cycle through choices #11950

pryrt opened this issue Jul 28, 2022 · 1 comment
Labels
feature Feature requests and Feature commits

Comments

@pryrt
Copy link
Contributor

pryrt commented Jul 28, 2022

Description of the Issue

Function Completion allows multiple “overload” variants in the definitions. I know when it pops down, you can click on the up and down arrows to cycle through those variants:
image

However, there doesn't appear to be a keyboard shortcut for that action.

In other programs, like Visual Studio, when doing Function parameter Completion, you can use the up and down arrows to navigate between the overloaded function definition popups:
image

In Notepad++, when doing normal "word" autocomplete, you can use the up and down arrows to select between the various options:
image

But in the Notepad++ Function Completion, it doesn't have that.

This was brought up in a post about IDE features in Notepad++ and other editors in a Perl forum. This was a confusing discrepancy for the person trying Notepad++'s implementation for the first time. Being able to navigate through the Function Completion choices by keyboard would make another selling point for Notepad++ in such discussions when talking with people in forums not related to Notepad++. ;-)

Steps to Reproduce the Issue

  1. Language > Perl (or any other language that has Function Completion definitions
  2. type split(, or use Ctrl+Shift+Spacebar after navigating to the right of the paren in split(...)
  3. You can navigate the overload options by clicking on the arrow buttons, but you cannot navigate through those options using the keyboard

Expected Behavior

Allow a keyboard input there: it doesn't really matter whether it's Up and Down arrows, or some shift+ or alt+ the arrows, or something similar. (For comparison: VS uses the standard up/down arrows.)

Actual Behavior

You cannot navigate those choices with the keyboard.

Debug Information

Notepad++ v8.4.4   (64-bit)
Build time : Jul 15 2022 - 17:54:42
Path : c:\usr\local\apps\npp\npp.8.4.4.portable.x64\notepad++.exe
Command Line : -multiInst
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit) 
OS Version : 20H2
OS Build : 19042.1586
Current ANSI codepage : 1252
Plugins : 
    mimeTools (2.8)
    NppConverter (4.4)
    NppExport (0.4)
@pryrt pryrt added the feature Feature requests and Feature commits label Jul 28, 2022
@vinsworldcom
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests and Feature commits
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants