Igorjan94's blog

By Igorjan94, 4 years ago, translation, In English,

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.

 
 
 
 
  • Vote: I like it  
  • +292
  • Vote: I do not like it  

»
4 years ago, # |
  Vote: I like it +6 Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +5 Vote: I do not like it

So cool!!!

»
4 years ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

I have some issues with the plugin:

  • It does not show my friend, it shows your friend. Edit: Fixed. It was mentioned on github page, which I did not read carefully ^_^
  • The standings has wrong indentation. Edit: I fixed it. Did not notice the dependencies earlier :D
  • »
    »
    4 years ago, # ^ |
    Rev. 2   Vote: I like it +3 Vote: I do not like it

    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 :)

»
4 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Is there any way to try it without competing at the same moment (lets say on virtual competition)?

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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.

»
3 years ago, # |
  Vote: I like it +3 Vote: I do not like it

One awesome plugin :)

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Now it's worth learning how to use vim.

»
6 months ago, # |
Rev. 3   Vote: I like it -10 Vote: I do not like it

I'm new to vim. Where should I write let g:CodeForcesContestId = 518 ?

Upd : Resolved.