Komputer    
   
Daftar Isi
(Sebelumnya) Comparison of JavaScript frameworksComparison of layout engines ( ... (Berikutnya)

Perbandingan -- JavaScript-based source code editors

This article provides basic feature comparison between some of the JavaScript-based source code editors available today. This article is not all-inclusive or necessarily up-to-date.

Contents

Overview

Daftar/Tabel -- source code editors
EditorSiteLatest versionStyle, clone ofCost (US$)Software licenseOpen sourceBrowser support
Ace (editor)Home, demo1.0, 2012-09-19Emacs / regular textareaFreeNew BSD LicenseYesFirefox 3.5+, Safari 4+, Chrome, IE 9+, Opera 11.5+
CodeMirrorHome, demo3.0, 2012-12-10plain textareaFreeMIT-likeYesFirefox 3+, Chrome, Safari 3+, Internet Explorer 8+, Opera 9+[1]
CodePressHome0.9.6, 2007-09-26Microsoft Visual StudioFreeLGPLYes?
CodeTextAreaHome, demo2009-06Microsoft Visual StudioFreeBSDYesDojo widget
EditAreaHome, demo0.8.2, 2010-01-14Microsoft Visual StudioFreeLGPLYesIE 6+, Firefox 1.5+, Safari 3+, Opera 9+, Chrome[2]
HeleneHome, demo0.9, unknown release dateMicrosoft Visual StudioFreeGPLYes 
MarkitupHome, demo1.1.13, 2012-08-30Markup editor, no syntax highlightFreeMIT, GPLYesIE 6 & 7, Firefox 2 & 3, Safari 3.1, Opera 9+[3]
OrionHome0.5, 2012-06-22Eclipse SWT StyledText, regular textareaFreedual-licensed: BSD 3-clause and EPLYesFirefox 5+, Chrome 12+, Safari5+, Internet Explorer 9+ [4]
9neHome?EmacsFreeGPLYes 
jsviHome?viFreeGPLYes 
YmacsHome, demo0.5, 2012-03-28EmacsFreeBSDYesFirefox, Chrome, Safari
MDK-EditorHome2.10, 2008Microsoft Visual StudioDepends on useDualCode is readabletested to work on: IE 6, 7 - Firefox 2, 3 - Chrome
LDTHome2012-02-19regular textareaFreeMIT, GPLYesFirefox 3.6+, IE8, Chromium 16, Midori 4.1, Opera 11, Epiphany

Daftar/Tabel -- features

Feature testing was performed with Firefox 3.0.6 against the current demo version, and results may not match those in other browsers or downloadable versions.

Daftar/Tabel -- source code editor features
FeatureAce (editor)CodeMirrorCodePressCodeTextAreaEditAreaHelenemarkItUp!MDK-EditorOrion
Implementation nestable full parserspattern-based parser    parserspattern-based parser
Syntax highlightYesJS, CSS, XML, mixed mode, PHP, SPARQL; community-extended with new parsers: Python, Lua, Rubylimited mixed mode: HTML + JavaScript (no CSS), PHP + HTML (no JavaScript or CSS), Java, Perl, SQLonly keywordsonly one language at a time: Perl, PHP, CSS, Javascript, Python, HTML, XML, VB, C, CPP, SQL, Pascal, Basic, Brainf*ckPHPNomixed mode: PHP + HTML + JavaScript + CSS, single-mode: PHP, Javascript, CSS, XML; extensibleHTML, JavaScript, CSS (pluggable)
Syntax checkingHTML, CSS, JavaScript (using JSHint)SomeNo  No HTML, JavaScript (using JSLint)JavaScript (using JSLint)
Tab supportYesYesSome Yes  YesYes
Indent, new line keeps leveloptional setting that is off by defaultYesvery limitedNoYesN/A (can't press Enter)NoYesYes
Indent, syntaxYesYes  No  NoYes
Indent, selected blockyes, including Shift+Tab and using context menueither automatically, or block-level indent/unindentNo yes, including Shift+Tab  yes, including Shift+Tab and using context menuyes, including Shift+Tab
Bracket matchingYesYesan implementation exists with mouse-hover bracket matching[citation needed]Ctrl+B; no angle bracket matching  Nomatching bracket ([{<>}]) always highlightedYes
XML matching tag highlightNothrough API/add-onNo    YesNo
Code foldingYesYes[5]NoNoNoNoNoNoSome[6]
Code snippetsNothrough API/add-ontype 'for' or 'if' then TabNoYesNoYesJavaScriptNo
Code suggestionNoexampleNo yes[citation needed] NoCSS, HTML, JavaScript)Yes through esprima content assist plugin
Toggle syntax highlight on/offYesYes  last example in demo N/AtextmodeNo
Keyboard shortcutsAll Common Shortcuts & Custom Keybindingsfully configurable  some common used: Ctrl+f, Ctrl+g,Ctrl+z,Ctrl+y YesAll key combos (except F1 in IE7) can be bound to shortcutsYes
Line numbersYesYesYesYesYesYesNosupports mouse selectionYes
Search & replaceregex supportedvia API Notoolbar button  has API for the studioYes
Spell checkingNoNobrowser-basednonebrowser-basednonebrowser-basedNoNo
ToolbarBut command line consoleNo NoYesNoYesNoNo
Visual stylingFully theme-ableCSS-based themes font-type and font-size   5 styles to choose from, having 2 font-sizes 
Undo/RedoYesYesYes Yes  Differential UndoYes
Multiple cursors / Block selectionMultiple cursorsNoNoNoNoNoNoNoNo
IndentGuidesYesNoNoNoNoNoNoNoNo

Offspring projects

Below is a list of projects based on each engine.

Ace powered

  • CodeAvengers - fun and effective interactive web development courses
  • GoInCloud - an powerful online IDE for developing PHP projects with online php debugger.
  • Play My Code - browser-based game development site and portal, which includes hosting and embedding games
  • Cloud9 IDE - an open-source full browser-based IDE with team collaboration and online project hosting
  • Sky Edit - a project to integrate Ace as a proper editor within the browser using Mozilla Jetpack
  • R Studio - an online editor for the R programming language
  • Qooxdoo Playground - in real-time GUI creator and editor using JavaScript
  • Radiant CMS - Ace extension for viewing files using the Ace editor
  • Add-on Builder - site that makes it easier to build FireFox extensions
  • Developer Companion - service providing the whole stack for programming development, uses Ace editor
  • Dirigible - a cloud-based programmable spreadsheet service
  • ShiftEdit - Service allowing you to edit and publish projects.
  • Akshell - Online application building service within the browser
  • AppFurnace - Smartphone app development tool aimed at designers and web developers.
  • FeedHenry - Develop Mobile Applications
  • ShareLaTeX - Real time collaborative LaTeX editor
  • CloudCoder - Exercise system for introductory programming courses

CodeMirror powered

CodePress powered

EditArea powered

MDK Editor powered

Mozilla Skywriter powered

Orion powered

Other

References

  1. ^ CodeMirror supported browsers
  2. ^ EditArea compatibility chart
  3. ^ [1]
  4. ^ Orion supported browsers
  5. ^ http://codemirror.net/demo/folding.ht ml
  6. ^ http://planetorion.org/news/2011/09/o rion-0-3-m2-new-and-noteworthy/#edito r-folding

External links

(Sebelumnya) Comparison of JavaScript frameworksComparison of layout engines ( ... (Berikutnya)