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

cant get testcases to local file #447

Open
H-Multani opened this issue Jun 10, 2024 · 2 comments
Open

cant get testcases to local file #447

H-Multani opened this issue Jun 10, 2024 · 2 comments

Comments

@H-Multani
Copy link

as of now
i am having this problem in codechef
when i try the competitive companion to get testcases for a problem. it creates a new cpp file for each problem.and the new file is empty

in a local file on vscode i have a template for cpp already and currently for each question, i have to copy the template to the new file so that i can further solve question

i also cant just cut the testcase from the new file and paste to original local file.this is creating a lot of clutter in the folder(due to each of the various problem having a separate file) along with the hassle of copying the template to each new file

it would be better to have an option wherein when i use the competitive companion, it would just get the testcases and save it to the currently opened file in vscode instead of having to create a new file and save the testcases there.

please correct me if this is a feature already implemented and instruct me on how i can use it.
or please provide a possible solution to my problem

@imeanup
Copy link

imeanup commented Jun 16, 2024

in a local file on vscode i have a template for cpp already and currently for each question, i have to copy the template to the new file so that i can further solve question

This is what you are looking for:

Screenshot 2024-06-16 at 11 06 38 PM


it would be better to have an option wherein when i use the competitive companion, it would just get the testcases and save it to the currently opened file in vscode instead of having to create a new file and save the testcases there.

No such option avaiable as of now, as it will create a new file which copies the file's api call data to .cph folder. Additionally, wouldn't this conflict with multiple questions when attempting live contest?

@H-Multani
Copy link
Author

No such option avaiable as of now, as it will create a new file which copies the file's api call data to .cph folder. Additionally, wouldn't this conflict with multiple questions when attempting live contest?

thanks for solving my previous query, as for this, yes it definitely would cause a conflict when i am attempting a contest, however when i usually upsolve problems of similar types after the contests, it becomes quite a hassle to manage the files of all the questions i have done

and in a case wherein i have solved 100s of questions, the file management would be a really tedious task. which is where the single file would be really space saving.

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

No branches or pull requests

2 participants