# Use Cursor \-\-goto for file targets with line and column · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/24c842936bc2637a9e5aead76d3cfa1030a381c2)

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

Visibility: public

Requested revision: 24c842936bc2637a9e5aead76d3cfa1030a381c2

Requested commit: 24c842936bc2637a9e5aead76d3cfa1030a381c2

Commit: 24c842936bc2637a9e5aead76d3cfa1030a381c2

Tree: 0f67430f3fef57b2d97cf2c5a4e3210bac8303fb

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use Cursor --goto for file targets with line and column

- detect `:line` and `:line:column` suffixes in open targets
- pass `--goto` when launching Cursor so it jumps to the cursor location
- add tests covering both line-only and line+column targets

```

## Parents

- [8f6b21a12e8c6509649883da8e36d375e5aa1fdf](https://git.cafe/gitcafe/t3code/commit/8f6b21a12e8c6509649883da8e36d375e5aa1fdf?format=markdown)

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