-
Notifications
You must be signed in to change notification settings - Fork 64
Flaws in version 0.3.12 #80
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
Comments
Thanks for the report! just yanked |
#77 maybe I should make this as feature that can be open or close in the config file ? |
I will test in |
@wendajiang step 1 is to document in the README what that means. Also, those marker lines are perhaps a good idea (I sometimes want to include code for local testing but not for submission) but at least add those marker lines with a leading comment appropriate to the language (i.e. Python in my example). |
Here's some more things to fix if you guys are keen. (Rewrite it in Python and I will submit PRs! ;) ) Error messages are ungraceful. E.g. if I run on a new system I get:
Can't this (and other error messages) be made nicer? E.g. In the above case The configuration file is at |
The configuration file location is hard code in the code currently, and vscode plugin use the path And the code path in the newest config file should be absolute dir, as I do not want save the code file in the root dir (the cache file), and the test file path is same as code path. FYI |
Well then perhaps the dir should be
That breaks compatibility for existing users because just setting the code value to |
Actually just realised what you mean about cache file. The File:
If you think user's really may want to move their cache then add default |
Just realized there may be a scripts dir. So perhaps:
|
Yeah, to me, it's ok, this format can be backward compatibility. |
Another bug you could fix: It seems you have added a |
Close this issue, if it's necessary, it can be reopen. |
I have been using
leetcode-cli
and it has been working well. Just installed version 0.3.12 and see immediate issues:leetcode e 1
a newcode
directory is created in whatever directory I was previously in. Previously that directory was created wrt to theroot
setting. If I set thecode
path absolute then it ignores the~
shortcut for users home directory whichleetcode
always respected previously.1.two-sum.py
gets created but it has C and C++ comments embedded all throughout (which looks incredibly ugly in my editor when trying to syntax highlight the file).1.two-sum.tests.dat
file gets created.@lc code=start/end
about?edit
andtest
functions are toEdit question by id
.There are probably more bugs since I have raised this in only the first 5 mins after installing 0.3.12.
Also, as a matter of process, it would be best to tag the repo with the version whenever a new crates.io release is made.
The text was updated successfully, but these errors were encountered: