Hi guys!
Happy new year, may this year brings a lot of AC and high ratings to you. This winter break I decided to improve the CP editor and after days and hours of works and thousands of lines of code changes I am glad to present the new CP Editor. Everything has changed, except the functionality. It is now much faster, more professional looking and offers many new features which were highly requested in old versions.
Let's quickly dive into the changes of CP Editor 4.0:
What's New
You can now drag and resize the editor or input boxes, you can also make editor take complete space of window by dragging all the way to right. You can also make Input and other boxes take complete window by dragging all the way to left. You can drag from sides to undo these changes.
Editor has now 5 themes to choose from (Light (default), Drakula ,Monkai (sublime), Solarised and Solarised Dark). These themes only affect the Editor not the complete application.
Multi-Tab-Support, You can open and work with as many files as you want all at once. In each tab you can use different language, each tab has its own Input and Output Boxes and they are all independent of one another. I don't have to say more, its amazing.
You can now parse the complete Contest and each problem with its input and expected output will open in the editor in a new Tab, you can quickly toggle between problems that way. So as soon as the contest starts, click that green button from contest page and all problems from A to G(last) will open in a new tab in the editor. You can quickly just change the language of one Tab by clicking on top right corner, and choosing the new language. This will come in handy when you find that a problem could be better solved with Python than C++.
Some of you requested that
CTRL+Shift+C
was too much typing for you to compile your code. So, Now you can set your own keybinding for actions like Compile, Run, Compile Run, Format and Kill. So Change these keys directly by setting them from Preferences. You need to enable hotkeys to enable these changes.The Settings were all messed up and the old editor didn't had one place to change all settings. This changed with CP Editor 4.0, now all your settings are placed in one place called Preferences, Open preferences window by clicking on menu bar
Options->Preferences
and change the settings you want and click apply for changes to take effect. Here is how it looks
- Editor now shows time of execution on each testcase in milliseconds.