Skip to content

Add option to enable cycling of parameter hints#55354

Merged
jrieken merged 2 commits intomicrosoft:masterfrom
ozyx:cycle-parameterHints
Aug 7, 2018
Merged

Add option to enable cycling of parameter hints#55354
jrieken merged 2 commits intomicrosoft:masterfrom
ozyx:cycle-parameterHints

Conversation

@ozyx
Copy link
Contributor

@ozyx ozyx commented Jul 30, 2018

Fixes #54726 by adding an option (default: false) to cycle through parameter hints instead of closing the autocomplete dialog when reaching the end of the list.

kapture 2018-07-30 at 1 38 59

I'm just beginning to get some experience with the VSCode codebase, so my choice of words in describing the action of this new option may not be ideal. Also, I put the option under "text editor" options-- if there is a better place for it, please let me know.

@jrieken jrieken added this to the August 2018 milestone Aug 6, 2018
'default': EDITOR_DEFAULTS.contribInfo.codeLens,
'description': nls.localize('codeLens', "Controls whether the editor shows CodeLens")
},
'editor.cycleParameterHints': {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, maybe a better name which puts parameter hints first. My preference would be editor.parameterHints.cycle but that would require a refactoring of the existing editor.parameterHints setting, e.g. into editor.parameterHints.enabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I've refactored the settings as such in my latest commit.

@jrieken jrieken added feature-request Request for new features or functionality editor-parameter-hints Function, method and class parameter hint widget labels Aug 6, 2018
@jrieken
Copy link
Member

jrieken commented Aug 7, 2018

lgtm. Thanks @ozyx!

@jrieken jrieken merged commit 1b8c51e into microsoft:master Aug 7, 2018
@ozyx ozyx deleted the cycle-parameterHints branch August 7, 2018 16:02
@jrieken jrieken added the verification-needed Verification of issue is requested label Aug 27, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

editor-parameter-hints Function, method and class parameter hint widget feature-request Request for new features or functionality verification-needed Verification of issue is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pressing up when on the first of multiple suggestions for the same function closes the dialog

2 participants