Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

✨ Open a file to a line number

Open
#2,155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
cli, desktop

Research direction

The issue only identifies the command-line CodeEdit opening flow, not a file or test. Trace that entry point to see how file.txt is parsed and opened, then verify that the requested file.txt:10 form opens the file at line 10 without breaking ordinary file opening.

Written by the indexing model from the issue text.

Description

enhancement
Description

I can open a file in the CodeEdit from the command line:

$ open -a CodeEdit file.txt

But I would like a way to open it to a file number, some editors do things like (e.g., to open to line 10):

$ open -a CodeEdit file.txt:10
Alternatives Considered

No response

Additional Context

No response

Screenshots

No response

Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeEditApp/CodeEdit

All issues in CodeEditApp/CodeEdit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.