Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aebopp
Copy link

@aebopp aebopp commented Jun 25, 2020

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

jdneo commented Jun 27, 2020

Thanks @aebopp,

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

@jdneo
Copy link
Member

jdneo commented Jul 23, 2020

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

@aebopp
Copy link
Author

aebopp commented Jul 23, 2020 via email

@jdneo
Copy link
Member

jdneo commented Jul 24, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants