Jatana / FastOlympicCoding

Tools for competitive programming for Sublime Text 3 & 4
399 stars 48 forks source link

it doesn't save tests #12

Open MohamedAhmed04 opened 5 years ago

MohamedAhmed04 commented 5 years ago

when I make tests and and save it and after that edit the code and compile it , I found that the previous tests isn't stored and I need to write tests another time. is there a solution for that ?

MohamedAhmed04 commented 5 years ago

also I made a program for a+b and when I run it it tell me the time is 2800 ms but it runs very fast , so is there a solution for the unaccurate time that's shown ?

MohamedAhmed04 commented 5 years ago

another problem also when I write vpii it makes vectorv ; which lead to compilation error

aditya-gupta-i commented 3 years ago

I also faced this issue (of not saving the test cases) in Windows 10. This issue was not present in Ubuntu 18.04

What happens is that I enter the test cases. But after I make edits to the code, I have to re-enter the test cases.

This fixed the issue for me: https://codeforces.com/blog/entry/60627?#comment-609009

The following should work.

  1. Open FastOlympicCoding settings file (press ctrl+shift+p and type Open Settings)
  2. Add the following line there: "tests_file_suffix": "__tests"