Is there a good code editor in the browser?

We have all seen text editors with an enhanced browser that allow you to edit color / stylized text in the WYSIWYG way. But what about code editors that automatically highlight code based on language rules as you type? Think Eclipse in a text box (but without refactoring support).

Are there such things? I assume scaling will be a problem - large files will be difficult to edit efficiently.

+44
javascript editor dhtml ide
Oct 13 '08 at 16:59
source share
10 answers

CodeMirror comes with support for more than 60 languages ​​and add-ons that implement more complex editing functions (auto-complete, code folding, custom key binding, search and replace, linter integration, etc.). To configure CodeMirror, an advanced programming API and a system of thematic CSS functions are available, as well as advanced functionality.

It was developed from the beginning of 2007, has a Wikipedia page and is used in many popular open source projects (Joomla, Firebug, etc.).

+37
Oct 13 '08 at 17:36
source share

Ace . They do not use iFrame.

+13
Jan 18 '11 at 1:13
source share

The editArea javascript library does a pretty good job. It is used by the OpenCMS content management system as the JSP and JavaScript editor does in place. The coloring is a little confusing when the file is> 2000 lines or so.

List of functions from your page:

  • Easy integration, only one script and one function call are included
  • Tab support (allows you to write well-formed source code)
  • Search and replace (with regex)
  • Real-time customizable syntax highlighting (currently: PHP, CSS, Javascript, Python, HTML, XML, VB, C, CPP, SQL, Pascal, Basic, Brainf * ck)
  • Auto-scrub new lines
  • Line numbering
  • Multilingual support (currently: Croatian, Danish, English, French, German, Italian, Japanese, Polish, Portuguese).
  • Full screen mode
  • It can work in the same environment as protype and mootools like libraries.
+8
Oct 13 '08 at 17:14
source share

Mozilla Bespin looked very interesting, but the project was discontinued .

+7
Mar 01 '09 at 19:30
source share

Javascript VI , there are some errors, but an interesting idea. VI FTW!

+1
Oct 13 '08 at 17:31
source share

This is a side sentence, but I use the Firefox plugin "It All Text!" to send my text areas for editing - all good markup, search, etc.

Of course, this depends on the user and cannot be easily deployed to visitors if this is your intention.

However, I am usually annoyed by the limitations of the editors in the browser. (The SO path captures my Ck while editing STILL catches me out of guard ... [this means that I am not editing everything in Emacs ...])

+1
Jan 09 '09 at 21:04
source share

Cloud9 looks interesting if you are a JavaScript developer.

Amy Editor is another browser-based editor I came across today - it seems to be trying to emulate TextMate in a browser, including Bundles and Snippets, although the project looks like it is dead ... Home / Demo and Source on github

+1
Jan 31 '11 at 2:04
source share

you can check out dockPHP StackHive for web development (based on codemirror). He currently supports HTML / CSS development, but I am also working on live javascript-ing.

Disclaimer: I am the founder of dockPHP :)

+1
Aug 01 '13 at 3:44 on
source share

I am using codiad. I used it with PHP, js and C. Features:

  • Support 40 languages ​​plugin library.
  • Error checking and notifications
  • Mutliple User Support
  • Editor Screen Split
  • LocalStorage Reservation
  • Advanced Search Tools
  • Intelligent auto completion
  • Real-time collaborative editing
  • Over 20 colored syntax themes
  • Totally Open Source
  • Easily customizable source
  • Runs on your own server
  • backups for quick download
  • Maximum editor screen space
  • I18n language support

http://codiad.com

+1
Dec 01 '17 at 17:11
source share

Eclipse Orion provides full-blown code editing and a miniature Orion Editor . Here you can see a demo.

0
May 05 '16 at 10:16
source share



All Articles