microsoft / microsoft/edit

Can't load entire file in editor

Open
#293 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug P-medium
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

I created a text file with 1,044,475,762 lines, containing a line number on each line to keep the file small.

`edit` wont' load entire file:

![Image](https://github.com/user-attachments/assets/1bf8444c-3488-4dfc-8287-1c21ee8f4314)

`nvim` loads everything:

![Image](https://github.com/user-attachments/assets/82073a17-536c-4125-b9d1-46c0e6cb7074)

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the report by opening a text file with over one billion numbered lines in edit and compare the result with nvim. Start from the editor's file-loading entry point, then verify that edit can load and display the entire file without the reported truncation or failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.