Skip to content

Commit d021974

Browse files
Copilotjoshspicer
andcommitted
docs: Update IssueFeatures.md to document CodeLens functionality
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
1 parent e88e0c0 commit d021974

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

documentation/IssueFeatures.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
We've added some experimental GitHub issue features.
22

3-
# Code actions
3+
# Code actions and CodeLens
44

5-
Wherever there is a `TODO` comment in your code, the **Create Issue from Comment** code action will show. This takes your text selection, and creates a GitHub issue with the selection as a permalink in the issue body. It also inserts the issue number after the `TODO`.
5+
Wherever there is a `TODO` comment in your code, two actions are available:
6+
7+
1. **CodeLens**: Clickable actions appear directly above the TODO comment line for quick access
8+
2. **Code actions**: The same actions are available via the lightbulb quick fix menu
9+
10+
Both provide two options:
11+
- **Create Issue from Comment**: Takes your text selection and creates a GitHub issue with the selection as a permalink in the issue body. It also inserts the issue number after the `TODO`.
12+
- **Delegate to coding agent**: Starts a Copilot coding agent session to work on the TODO task (when available)
613

714
![Create Issue from Comment](images/createIssueFromComment.gif)
815

0 commit comments

Comments
 (0)