UPD0: Thank you everybody for such appreciation of my plugin! It inspired me to continue improving it and now my plugin can parse contest, create file structure of it, has primitive testing on downloaded samples, shows list of contests (thanks to I_love_Hoang_Yen), problem statement is parsing correctly and so on. You can see changelog on github, I think I wont duplicate it here. Everybody who is interested in it, update plugin without any notification.
Happy birthday, CodeForces! This is my favorite site, cause here I can find lots of useful and interesting things. And everything is done with good sense of humor and is constantly upgrading. So I decided to improve some users' life too :)
I started using vim as main IDE for about one year ago. In the beginning, as was implied, I didn't estimate all advantages of it and coded in Code::Blocks or QtCreator, depending on problem. But later, when I installed all plugins knew how to use it, I don't like other IDE's. It is true only for C++ and, imho, python. What about Java, I use Intellij IDEA and Eclipse, but can redact small files in vim too. I can write big post about advantages of vim, but I'll tell only about one, which was "born" some days ago and is has the same idea as (J|C)Helper
Main page of plugin is on github, here I post only screens and main features of it.
- Watch standings of contest(friends, official, unofficial, room)
Colors of users are user-defined. Full coloring in next versions.
- Load problem text (except for formula-pictures)
- Load last submission of problem of user(like ctrl-click in browser) For example, qwerty787788' submission of F problem from previous contest:
All comments/suggestions/critic write to mail/here/github
Text was translated by me, so, please, write about all inaccuracies of translation in PM.
So cool!!!
I have some issues with the plugin:
I have no idea how to get friends from site, because api doesn't contain this info :(
g:CodeForcesUsername is used for showing last submits, and you should add your friends in file path/to/plugin/codeforces.vim/CF/codeforces.friends by hands, copying from site
UPD: maybe I will do automatic parsing, using X-User and JSession, but it isn't so trivial like parsing txt file with split(' ') and I will be some time later :)
Is there any way to try it without competing at the same moment (lets say on virtual competition)?
Yes, of course it works without competing. You can submit/watch standings/do everything/... whenever you want
I didn't tested it on virtual contest, but after your comment I've added cookies to request of standings, so it should work as expected.
About gym : now you can only submit to gym (contest with id > 100000). I suppose I'll add gym support next week.
One awesome plugin :)
Now it's worth learning how to use vim.
I'm new to vim. Where should I write let
g:CodeForcesContestId = 518
?Upd : Resolved.