You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: