GithubHelp home page GithubHelp logo

horcrux2301 / afcp Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 180 KB

Competitive Programming Contests Automation Package for text editor Atom.

Home Page: https://atom.io/packages/afcp

License: MIT License

JavaScript 95.41% CSS 4.39% C++ 0.20%
automation atom atom-package codeforces atcoder codechef atom-plugin competitive-programming competitive-programming-contests cpp

afcp's People

Contributors

codacy-badger avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

afcp's Issues

Notification of 'diff' rather than output files

Consider a problem with long output like 8-10 lines, in order to verify my output and correct output I have to drag both the files side by side and then compare it. It is time consuming and defies the purpose of this plugin.

Suggested Alternative: You may add notification of evaluation of test case, rather than output the file. It will solve the purpose as all I will need to know is that whether I passed the test case or not rather than the output.
You may use diff as a tool to enhance the scheme I proposed. Consider:

000  ---> 0 0 0
123  ---> 1 2 3
123  ---> 1 2 3

Though output seems similar but there will be wrong answer because of spaces between digits. Using diff will solve the problem, and also highlight the differences.

Uncaught TypeError: Cannot read property 'lastIndexOf' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Home Single Language
Thrown From: AFCP package 0.8.20

Stack Trace

Uncaught TypeError: Cannot read property 'lastIndexOf' of undefined

At C:\Users\praty\.atom\packages\AFCP\lib\cp-automation.js:248

TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.compile (/packages/AFCP/lib/cp-automation.js:248:35)
    at HTMLElement.cpAutomationCompile (/packages/AFCP/lib/cp-automation.js:121:43)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:350265)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1230852)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:1226986)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:11:284919)

Commands

     -2:02.5.0 core:move-up (input.hidden-input)
     -2:02.2.0 core:move-right (input.hidden-input)
 26x -2:01.5.0 core:move-left (input.hidden-input)
 58x -1:58.3.0 core:select-right (input.hidden-input)
     -1:55 core:select-left (input.hidden-input)
 12x -1:54.4.0 core:move-left (input.hidden-input)
     -1:53.8.0 core:move-down (input.hidden-input)
 24x -1:53.6.0 core:move-left (input.hidden-input)
     -1:51 core:move-down (input.hidden-input)
  2x -1:50.6.0 core:move-left (input.hidden-input)
     -1:47.5.0 cp-automation:compile (input.hidden-input)
     -1:30.1.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:59.5.0 cp-automation:compile (input.hidden-input)
     -0:42.2.0 core:move-down (input.hidden-input)
  2x -0:42 core:move-left (input.hidden-input)
     -0:39.3.0 cp-automation:compile (input.hidden-input)

Non-Core Packages

AFCP 0.8.20 
atom-material-ui 2.1.3 
gpp-compiler 3.0.7 
script 3.26.0 
slack-ui 0.8.0 

missing option for custom template

This plugin is very helpful, but I how can I add a file to every problem folder while it is parsed? I use "ip.txt" as input file and I have configured with atom comfortably for running test case manually.

I want to create that file in the problem folder when I parse contest.

Thanks for this amazing plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.