Forums

Give help. Get help.

  • # November 3, 2014 at 10:22 pm

    I had a great idea for a code editing application. Don’t want to give all the details, but I’d LOVE to make an editor from scratch and not use something like Ace. I’m a rebel, plus I’d love to learn. I also love to make things from scratch.

    Are there any tutorials on how to make a code editor with syntax highlighting and tabbing with HTML+CSS+JS from the ground up?

    # November 4, 2014 at 8:13 am

    You want to build a web-based code editor? Or a desktop application? The latter will require you to learn C.

    # November 4, 2014 at 12:18 pm

    I want a web based code editor. I wonder how Ace does it…

    # November 4, 2014 at 1:26 pm

    I wonder how Ace does it…

    There’s no real secret my man. It’s HTML + CSS + JS + Some back-end language + database for data persistence like everything else.

    I’d just like to throw out that this is a HUGE undertaking. Ask @chriscoyier what went into building CodePen. I’m sure it was super difficult. But… that doesn’t mean you SHOULDN’T do it. Just that you should count the cost.

    I saw some folks in Design Den messing around with Code Editor UI a few weeks ago. Maybe look there for some pointers. Then… the real work begins.

    # November 4, 2014 at 2:48 pm

    It’s open source, so dig in!

    We use http://codemirror.net/

    # November 4, 2014 at 3:29 pm

    Wow. Didn’t see that coming. I guess you learn something new everyday! I would strongly suggest you take a look at the Codepen source. IMHO, it’s the best web-based code editing experience out there. Period.

    # November 7, 2014 at 1:15 am

    Thanks everybody. But like I said, I kind of am a rebel, and I’m really interested in learning my own way for things, to enlighten myself and better myself.
    Now I did take a look at the source code for Ace, and it seems a lot more complex than what I have started.

    I’m having an issue with the syntax highlighting/cursor, however, and I made a separate topic on it.

    Here’s the editor so far…a bit buggy but you can type in some HTML.

    # February 7, 2015 at 3:13 am

    I also found: http://fadul.net/code-editor/default.php Online Code Editor It’s also built in CodeMirror. It has many features. @chriscoyier also has codepen.io which is superb.

    # February 3, 2017 at 11:11 pm

    Here is the code of online live html editor

    https://github.com/abhay-s/Cheter

    You may check it on https://abhay-s.github.io/cheter/

    # October 26, 2017 at 12:04 am

    try this out..

    my CODER

    https://github.com/vyashubhamkumar/vyashubhamkumar.github.io

    You may check it on https://vyashubhamkumar.github.io

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag