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

[FR] Add Manual to CompletionTriggerKind #205503

Closed
RedCMD opened this issue Feb 19, 2024 · 3 comments
Closed

[FR] Add Manual to CompletionTriggerKind #205503

RedCMD opened this issue Feb 19, 2024 · 3 comments
Assignees
Labels
api feature-request Request for new features or functionality suggest IntelliSense, Auto Complete

Comments

@RedCMD
Copy link
Contributor

RedCMD commented Feb 19, 2024

It would be nice to know if the user explictly wants completions vs just implicitly

Currently Invoke is the same for both manually triggering completions via ctrl+space and with normal typing "wordPattern"

export enum CompletionTriggerKind {
/**
* Completion was triggered normally.
*/
Invoke = 0,
/**
* Completion was triggered by a trigger character.
*/
TriggerCharacter = 1,
/**
* Completion was re-triggered as current completion list is incomplete
*/
TriggerForIncompleteCompletions = 2
}

Add forth option: Manual (or Explict?)

/**
 * Completion was triggered manually by the user
 */
Manual = 3

and maybe even a fifth: Command?
for editor.action.triggerSuggest etc

related: #115343 (I think this is what he was trying to explain)

@jrieken jrieken added feature-request Request for new features or functionality api suggest IntelliSense, Auto Complete labels Feb 19, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the Backlog Candidates milestone Feb 19, 2024
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

RedCMD added a commit to RedCMD/RedCMD that referenced this issue Feb 19, 2024
@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api feature-request Request for new features or functionality suggest IntelliSense, Auto Complete
Projects
None yet
Development

No branches or pull requests

3 participants