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

Add an option to save the executable files in the temp directory or the source file directory #271

Closed
cs-mshah opened this issue Apr 29, 2020 · 5 comments
Labels
enhancement New feature or request medium_priority Medium Priority Issues

Comments

@cs-mshah
Copy link

Describe the solution you'd like
Automatically delete the filename.out file after execution or on closing the tab for that problem in editor.

As we click to submit other problems on codeforces, the folder contains the .out files of several problems along with the .cpp files.
These files should be deleted to make the folder cleaner.
Describe alternatives you've considered

having a common a.out file instead of filename.out or deletion of the .out file after exectution. Also tell if there are any arguments that can be passed to fix this.
we can have something like rm filename.out
screenshot

Screenshot from 2020-04-29 18-39-38
The problems candies, constant palindrome sum have been done on CP editor and have those .out files there whereas others done using sublime have them removed using custom build

@cs-mshah cs-mshah added the enhancement New feature or request label Apr 29, 2020
@cs-mshah cs-mshah changed the title Deleted filename.out files which become annoying in the folder Deleting filename.out files which become annoying in the folder Apr 29, 2020
@ouuan
Copy link
Member

ouuan commented Apr 29, 2020

  1. In the current version, you can disable "Save Testcases on Save" in the preferences window.
  2. In the next version, in which Let users choose where to save test files #176 is added, you can save all test case files in the same directory or anywhere you like.
  3. To submit to Codeforces, you can use CF Tool, which is very convenient.

@ouuan ouuan closed this as completed Apr 29, 2020
@cs-mshah
Copy link
Author

cs-mshah commented May 1, 2020

It is not the test cases that I am talking about, it is the .out file which gets generated after compiling the cpp file. Just have a look at what I am saying.

@ouuan
Copy link
Member

ouuan commented May 1, 2020

I suggest adding an option to save the executable files in the temp directory or the source file directory, instead of deleting them after execution.

@ouuan ouuan reopened this May 1, 2020
@ouuan ouuan changed the title Deleting filename.out files which become annoying in the folder Add an option to save the executable files in the temp directory or the source file directory May 1, 2020
@ouuan ouuan added the medium_priority Medium Priority Issues label May 1, 2020
@ouuan
Copy link
Member

ouuan commented May 3, 2020

@allcontributors add @cs-mshah as a contributor for ideas.

@allcontributors
Copy link
Contributor

@ouuan

I've put up a pull request to add @cs-mshah! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium_priority Medium Priority Issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants