notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

长文件路径的支持

Open
#11,071 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

软件不支持打开长文件路径下的文件

Steps to Reproduce the Issue
  1. eg:"C:\Users***\OneDrive\字字字字\字字\字字字字[UHA-WINGS&VCB-Studio] Kaguya-sama wa Kokurasetai꞉ Tensai-tachi no Renai Zunousen [Ma10p_1080p][UHA-WINGS&VCB-Studio] Kaguya-sama wa Kokurasetai꞉ Tensai-tachi no Renai Zunousen [Vol.1_USA_01-04][Hi8p_1080p][x264_PCM].sc.ass"
  2. 这个文件打不开,缩短文件路径后可以打开。
Expected Behavior

长文件路径可以正常打开编辑。

Actual Behavior

无法打开长路径下的文件。

Debug Information

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

Start by reproducing the failure with the long Windows path shown in the issue, then trace the file-opening flow responsible for handling that path. Done means the example file opens and can be edited without shortening its path, while shorter paths continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.