The Wayback Machine - https://web.archive.org/web/20200915124122/https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/595
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fill zeros before problem id in file name? #595

Open
SLKyrim opened this issue Jul 9, 2020 · 1 comment
Open

How to fill zeros before problem id in file name? #595

SLKyrim opened this issue Jul 9, 2020 · 1 comment

Comments

@SLKyrim
Copy link

@SLKyrim SLKyrim commented Jul 9, 2020

Cannot find solution in Customize the Relative Folder and the File Name of the Problem File

馃挰 Questions

The format of my file name is

"filename": "${id}-${kebab-case-name}.${ext}"

Now I want ${id} to be four digits so that the files can be sorted by their IDs on my Github repo.
For example, I click "Show Problem" and generate a file named "1.涓ゆ暟涔嬪拰.py" and I want it to be "0001.涓ゆ暟涔嬪拰.py". How can I implement this setting?

@yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Jul 9, 2020

See #582 maybe add later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can鈥檛 perform that action at this time.