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

Feature: allow specifying start line for file display

Open
#471 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start by checking the documentation for the startingLineNumber option and how the <File /> component is implemented; the issue does not name specific files or tests. Then look for existing tests covering file display and line ranges. Done means <File /> can display a requested range starting at a specified line, rather than always starting from the beginning of the file.

Written by the indexing model from the issue text.

Description

diffs enhancement
Prerequisites
Proposal

It would be useful to specify the start line for <File />, when showing a range of lines, rather than the whole file content.

Motivation and context

The docs mention startingLineNumber option, but it seems to not be implemented.

Dominant language
TypeScript
Stars
6.2k
Forks
226
Avg merge
1d 13h
Merged PRs (30d)
33

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 pierrecomputer/pierre

All issues in pierrecomputer/pierre

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.