cant get testcases to local file
H-Multani opened this issue · 1 comments
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
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](https://private-user-images.githubusercontent.com/110709398/340122628-151de679-052b-4d40-b89b-10e06caa85c0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2NzgxNzcsIm5iZiI6MTcyMDY3Nzg3NywicGF0aCI6Ii8xMTA3MDkzOTgvMzQwMTIyNjI4LTE1MWRlNjc5LTA1MmItNGQ0MC1iODliLTEwZTA2Y2FhODVjMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQwNjA0MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDQyNTM2MmYxMTViNjFmOTNiYzljNGYwMmRmYWNmYTBiYTQ0ZmQ1Y2ZiNmM4N2QyMTk2OTMzNmM4NTRkMDA1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.CAu5lC9uerDqgZ2kpaEXegwhqW-r6VI4iG8EwHSZPJQ)
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?