-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
add CPParser #8857
add CPParser #8857
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: WARNING
Repo link: CPParser
Results help
Packages added:
- CPParser
Processing package "CPParser"
- WARNING: '.no-sublime-package' is defined. Please verify that it is *really* necessary
Could your package function as a replacement of GetCode? @Salil03 would you be ok with replacement of your package? Or could you maybe let @hritikchaudhary contribute to it? |
Hi @braver , Thanks for the review..
Also can you please help me with the warning: it's my first sublime plugin and not sure what the warning means. Thanks! |
Alright, sounds good. Let's continue with the review then:
|
@braver addressed review comments...
Updated name to CP Parser
Default path is now ~/Documents/CPParser/ user can add their own in settings.
Updated to directly access settings
Updated to use
Corrected
Removed Key bindings added command in command palette Please let me know if anythings else is missing |
That's not what I wanted to suggest. And definitely not compatible across systems. Sublime Text packages should store files to a location inside Packages/User. Take for instance this example from SnippetMaker: https://github.com/jugyo/SublimeSnippetMaker/blob/master/SnippetMaker.py#L27C13-L32C14 |
Hi @braver, apologies I misunderstood |
I'll let you handle that in your own time, we can ship it in the mean time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: ERROR
Repo link: CP Parser
Results help
Packages added:
- CP Parser
Processing package "CP Parser"
- ERROR: Unhandled exception in 'check' routine
- File: messages.json
- Exception: expected str, bytes or os.PathLike object, not list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: ERROR
Repo link: CP Parser
Results help
Packages added:
- CP Parser
Processing package "CP Parser"
- ERROR: Unhandled exception in 'check' routine
- File: messages.json
- Exception: expected str, bytes or os.PathLike object, not list
Hold on, your messages.json is incorrect. You can specify exactly one file for "install" (or any specific version). I don't understand what "open_settings" is supposed to do there? |
Hi @braver Thank you for the review, and apologie for the messages.json, I was testing something during development, I missed to revert it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: SUCCESS
Repo link: CP Parser
Packages added:
- CP Parser
Processing package "CP Parser"
- All checks passed
My package is a competitive programming file name and testcase parser, which parse codeforces and codechef and creates a cpp file with existing code additionally it also creates a test file of parsed testcases which can be used in CPPFastOlympicCoding plugin.
There are no packages like it in Package Control.
My package is similar to GetCode, However it should still be added because: