# Fix "Open in editor" to respect worktree path · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/c5cbe159935680f201e90eee73619d79b7eb0ad1)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: c5cbe159935680f201e90eee73619d79b7eb0ad1

Requested commit: c5cbe159935680f201e90eee73619d79b7eb0ad1

Commit: c5cbe159935680f201e90eee73619d79b7eb0ad1

Tree: 522e8f0a1b5010df888b76b6dd45142038c4e317

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix "Open in editor" to respect worktree path

Both openInEditor and the Cmd+O shortcut now use the thread's
worktreePath when available instead of always using activeProject.cwd.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

## Parents

- [2a610f92b9c6254119d13bbc83b50c9ca7d288b4](https://git.cafe/pingdotgg/t3code/commit/2a610f92b9c6254119d13bbc83b50c9ca7d288b4?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/c5cbe159935680f201e90eee73619d79b7eb0ad1?format=markdown)
