Open H-Multani opened 5 months ago
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:
> 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?
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.
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