Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

Adds githubIssues.assignToMeOnCreate setting to automatically assign the current user when creating issues from TODO/FIXME comments via code actions.

Changes

  • New setting: githubIssues.assignToMeOnCreate (default: false)

    • Controls automatic assignment of current user to newly created issues
    • Disabled by default for backward compatibility
  • Enhanced createTodoIssue logic:

    • Retrieves authenticated GitHub user when setting is enabled
    • Merges with existing assignees from @username mentions in comments
    • Fails gracefully if user retrieval fails

Example

With "githubIssues.assignToMeOnCreate": true:

// TODO: refactor this method
function foo() { ... }

Triggering "Create GitHub Issue" on the TODO comment creates an issue assigned to the current user.

// TODO @teammate: refactor this method  
function bar() { ... }

Both the current user and @teammate are assigned to the created issue.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • update.code.visualstudio.com
    • Triggering command: /opt/hostedtoolcache/node/20.19.6/x64/bin/node node ./out/src/test/runTests.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>FR: "create issue" code action (triggerable on FIXME's) could assign myself to the issue</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits December 10, 2025 11:24
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
…es created from TODO/FIXME

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
…ss GitHub repository

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot AI changed the title [WIP] Add code action to assign issues with FIXME comments Add auto-assign option for issues created from TODO/FIXME comments Dec 10, 2025
Copilot AI requested a review from alexr00 December 10, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: "create issue" code action (triggerable on FIXME's) could assign myself to the issue

2 participants