Jatana's blog

By Jatana, 5 weeks ago, In English,

TestManager

Hello, I would like to introduce the plugin FastOlympicCoding for Sublime Text.
It provides several useful features for competitive programming.

Test Manager
  • The main feature is test managing. You can effectively add, edit, and delete tests. See the screenshot above.
Debugger
  • Also for OSX, there is a debug functions.

Debugger

Class Completions
  • The next feature is class completions.
  • Write chars as classes for a template substitution.

ClassComplete

CppLint
  • C++ lint
  • Edit lint properties in settings.

CppLint

Stress Testing
  • You can stress test your program for finding test where it works incorrect.
  • This function requires a program that works correct and a test generator.
  • For further information see instructions on github

Stress


For the additional information and keybindings please visit the github page — https://github.com/Jatana/FastOlympicCoding

Installation
Contribution and Issues
  • Feel free to ask any question or express your ideas here or on github
 
 
 
 
  • Vote: I like it  
  • +244
  • Vote: I do not like it  

»
5 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it

Great job! As a Sublime Text user, I have to say thanks :)

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Amazing work will be very helpful if you can also provide something for java like this

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Make sure, that you can add any language in the settings. For example, there is already defined python.

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Aren't autocompletion, linting and other IDE functions common plugins for many languages?

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Linting, debugging and completions are only for C++, other features are for all languages.

    • »
      »
      »
      5 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      That's not what I'm talking about.

      I'm saying there were plugins doing these things long ago.

      • »
        »
        »
        »
        5 weeks ago, # ^ |
          Vote: I like it +5 Vote: I do not like it

        Yes, I agree that some functions have already in use.
        But, there are also innovative functions too.

»
5 weeks ago, # |
  Vote: I like it +13 Vote: I do not like it

I think the "Compile and Run" should save the file first then compile, as default compile options in sublime does.
Btw, how to change key bindings?

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Preferences-Browse Packages-CppFastOlympicCoding-Default (your os).sublime-keymap

    But, it changes to default with every plugin update.

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

It is not working for me on Ubuntu 18.04. When I compile (ctrl-alt-b) gives the following error:

Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 993, in run_
    return self.run(edit, **args)
  File "/home/daniel/.config/sublime-text-3/Packages/FastOlympicCoding/test_manager.py", line 1465, in run
    self.create_opd(clr_tests=clr_tests, sync_out=sync_out, use_debugger=use_debugger)
  File "/home/daniel/.config/sublime-text-3/Packages/FastOlympicCoding/test_manager.py", line 1307, in create_opd
    file_ext = path.splitext(file_name)[1][1:]
  File "./python3.3/posixpath.py", line 125, in splitext
  File "./python3.3/genericpath.py", line 92, in _splitext
AttributeError: 'NoneType' object has no attribute 'rfind'
»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Thank you for doing this great job. This has eased many things. The test system is so great but can you add sometime later a feature that would parse the testcases from codeforces given the contest number to it?

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

I have installed it from package control but unable to use it.Can somebody please tell what is the next step after installing the plugin?

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

Please, can anyone help with Test Manager for Windows? I tried Ctrl+Enter (new test) and Install Manually/Package, but I'm not able to create new tests.

ClassCompletion worked very well. It will help us so much! Thankss!

»
10 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Can anybody help me. When I try to compile it just hung. Can any body give me there settings file. Thank you