Coder Social home page Coder Social logo

kaustubhhiware / c0derunr Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 8.0 1.77 MB

An attempt at a cleaner UI for online IDE's: http://c0derunr.herokuapp.com

License: MIT License

Python 5.50% Shell 0.04% CSS 26.15% HTML 9.67% JavaScript 58.63%
django ide nlp python webapp

c0derunr's People

Contributors

142ayushkumar avatar demfier avatar isunitha98selvan avatar kaustubhhiware avatar kofls avatar kurianbenoy avatar mikeesto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

c0derunr's Issues

Highlight the "DEBUG" button when an error occurs in compilation

Currently, we have to click the DEBUG button to see the suggestions, which is not very intuitive. It would be better if we can make it more interactive and the button itself lets the user know when to use it!

I guess not much of front-end is involved but it would be a super useful feature for c0derunR.

Setup a beta link for c0derunR

It would be nice if we could have a beta version of c0derunR deployed.
So we don't have to "guess" what is going to happen when we merge a PR or add a new feature.
It would compensate for the lack of tests in the backend and would save us from the pain to test it locally everytime.

Autocomplete syntax feature

Lack of autoComplete syntax feature, like typing an open brace, a closing brace is automatically should be inserted on the same line after the cursor.

Logo redesign

A better logo? the current one doesn't really fit the UI very well. Anything a bit modern will do.

Support keyboard shortcuts

It would be nice to have support for keyboard shortcuts such as Tab to give indentation, shortcuts to move a line of code up/down etc.

Replace rake-nltk with a customized algorithm

Currently we are using rake-nltk for extracting important keywords from the error response. It is not efficient because well, the library is trained on human language, not on compiler error messages!

Hence, there is a need for our own implementation of keyword extraction which could do preprocessing of the response we get from hackerearth API and extract important keyword out of it.

This may also require us to declare a Domain Specific Language (DSL) for c0derunR.

Balanced search results in auto-debugger

As of now, we show top 10 legit links as suggestions but that is very naturally, a biased way. We need to pick up a balanced list of results, that would not leave any of important key features.

Add code documentation

Adding docstrings to the modules will surely help in better understanding of what is going on inside of it.
We have a lot of undocumented code in coyote module as well as in our js files.

For python, follow the format:

def function(param1):
    """
    Parameters:
    param1 [type] => its description
    --------------------------------------------------
    Returns:
    output1 [type] => its description
    """

    # Logic..

    return(output1)

For javascript:

function name(param1) {
    /*
    @param {Type} param1 - description
    @returns {Type} output1 - description
    */

    // Logic..
    
   return output
}

Changing API

I think we should change to some other API. Many compilation errors using this one.

Add more languages in switcher

If any programming language is missing, which a significant amount of people using the website need.

This will also require creating the default code snippet for it.

You can know the supported languages by a simple lookup on hackerearth's API documentation.

Add snippets for new languages

In favour of #23, some new languages were added. New snippets are required for the same

  • CPP14
  • Erlang
  • Javascript
  • Javascript (node)
  • Kotlin
  • Octave
  • Python3
  • Rust
  • Swift
  • Visual basic

The snippet for each language must contain a simple hello world printing line, and commented instructions for how to take input, if the language supports.

Support for syntax highlighting

There are a couple of JS libraries that provide syntax highlighting for the code. But I'm not sure whether there's a Python library that makes it possible to highlight code as it is being typed dynamically.

Nevertheless, supporting syntax highlights would be a cool add-on. ๐Ÿ˜„

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.