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

Programmatically focus CommentThread Input #233414

Open
j-erasmus opened this issue Nov 8, 2024 · 1 comment
Open

Programmatically focus CommentThread Input #233414

j-erasmus opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality

Comments

@j-erasmus
Copy link

Issue Description

Currently, there is no direct method within the VSCode API to programmatically focus the comment input field. This feature would be highly beneficial in extensions that rely heavily on commenting workflows.

Feature Request

Please consider adding a method to the CommentThread API that allows extensions to focus the comment input field programmatically. This functionality would make it easier for extension developers to guide users directly to the input, particularly in use cases where immediate user input is desired after triggering specific actions.

Use Case Example

An extension that helps users provide inline comments in code might want to:

Automatically open the comment input field at a specific location.
Programmatically focus the input field so the user can start typing immediately, without needing to click into the field manually.
By allowing programmatic focus on the input field, the workflow becomes more seamless and intuitive for users.

@alexr00 alexr00 added the feature-request Request for new features or functionality label Nov 8, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Nov 8, 2024
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants