I need to write a browser-based simple code editor that would highlight errors such as unclosed parentheses, code completion etc.
my question is - which tools would you recommend using to implement this? pure js? gwt?
thanks!
Besides basic editing features, a JavaScript code editor provides you with syntax highlighting, indentation, autocomplete, and brace matching functionality. Some editors also allow you to debug JavaScript. The following are some popular JavaScript code editors: Visual Studio Code. Atom.
Microsoft Visual Studio Code is the most widely used and popular IDE. It is Microsoft developed and includes tools and extensions for various computer languages such as C #, C ++, Python, PHP, etc. JavaScript, TypeScript, NodeJS, and many more.
About. CodeMirror is open source under a permissive license (MIT). It is being developed on GitHub. Contributions are welcome.
http://codemirror.net/ - Are you are looking for something like this? The editor embedded in the book Eloquent JavaScript was excellent. (CodeMirror is created by Marijn Haverbeke, the author of Eloquent JavaScript)
You should check out Cloud9 IDE ( http://c9.io/ ) which uses Ace. You can also embed Ace in your site ( http://ace.ajax.org/ )
Ace (from Ajax.org Cloud9 Editor) is a standalone code editor written in JavaScript. The goal is to create a web-based code editor that matches and extends the features, usability, and performance of existing native editors such as TextMate, Vim, or Eclipse. It can be easily embedded in any web page and JavaScript application. Ace is developed as the primary editor for Cloud9 IDE and as the successor of the Mozilla Skywriter project.
Features
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With