Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enhancement: Add leading zero for file navigation Issue #440#582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
aebopp wants to merge2 commits intoLeetCode-OpenSource:master
base:master
Choose a base branch
Loading
fromaebopp:leading-zero-issue440

Conversation

aebopp
Copy link

Modified show.ts so files are named with leading zeros so they're in order in windows file navigation.
Works while there are less than 10,000 problems
#440
files

@jdneo
Copy link
Member

Thanks@aebopp,

I think we need a setting to turn on/off this feature.

@jdneo
Copy link
Member

@aebopp Do you still have the interest to update the PR?

@aebopp
Copy link
Author

aebopp commentedJul 23, 2020 via email

Hi!I’m not exactly sure how to add settings, so I guess not.Thanks for checking in :)
On Thu, Jul 23, 2020 at 4:21 AM Sheng Chen ***@***.***> wrote:@aebopp <https://github.com/aebopp> Do you still have the interest to update the PR? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#582 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFQ3PLTHW3XCJFEEL5FIFTTR47XG3ANCNFSM4OH73KGA> .
-- Alexandria BoppUniversity of Michigan | Class of 2020B.S. English, Industrial and Operations Engineeringaebopp@umich.edu | 248-345-6720

@jdneo
Copy link
Member

Instead of hard code the prefix zeros, it will be better to let the user customize it. For example, in the settingleetcode.filePath, we can support something like${id%05d} in the filename. This will provide enough flexibility to the users.

yihong0618, ericness, and hank7z7 reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@yihong0618yihong0618yihong0618 left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@aebopp@jdneo@yihong0618

[8]ページ先頭

©2009-2025 Movatter.jp