Practical Code Editors
Highlighting your code is one strategy to improve the readability and context of your text or code; especially for code which spans several pages. The end user can easily ignore large sections of comments or code, depending on what they desire.
Code highlighting also helps programmers find errors within their program. For example, most editors highlight string literals in a different color. Consequently, spotting a missing delimiter becomes much easier because of the contrasting color of the text.
Brace matching is another important feature with many popular editors. This makes it simple to see if a brace has been left out or locate the match of the brace the cursor is on by highlighting the pair in a different color.
Some text editors can also export the color markup in a format that is suitable for printing or for importing into word-processing or other kinds of text-formatting software; for instance an HTML, colorized LaTeX, PostScript or RTF version of its syntax highlighting.
Most editors with syntax highlighting allow different colors and text styles to be given to dozens of different lexical sub-elements of syntax. These include keywords, comments, control-flow statements, variables, and other elements. Programmers often heavily customize their settings in an attempt to show as much useful information as possible without making the code difficult to read.
Some popular syntax highlighting engines
- vi IMproved syntax files (.vim)
- GeSHi written in PHP
- Kate syntax highlighting system (has also been ported to Perl)
- TextMate syntax files (has also been ported to Ruby)
Online In The Browser Code Editors
Online or web-based Integrated Development Environments (IDE), offer and provide a rich text editing alternative compared to Syntax Highlighter Editors which must be implemented within ones Theme via plugin or manual coding.
In addition, many of these Online Code Editors will allow you to sign in in order to store and manage your files, and several of them offer interesting forms of collaborative coding.
Featured below are 20 Online Code Editors which will allow you to easily post syntax-highlighted code to your site without having to escape the code or anything.
For a complete list of supported languages please refer to the WordPress Documentation.
Compilr is an online compiler and online IDE that enables you to work with PHP, C, C++, Ruby and compiler for Java, C# and VB.net and the XNA platform from almost any web browser.
Dabblet is an interactive CSS playground and code sharing tool developed by Lea Verou. Dabblet saves to Github gists and offers many conveniences for CSS editing. It quickly tests snippets of CSS and HTML code and uses -prefix-free, so that you won’t have to add any prefixes in your CSS code.
4. Thimble, by Mozilla
Thimble allows you to create your own web pages. Write and edit HTML and CSS right in your browser. Instantly preview your work. Then host and share your finished pages with a single click.
7. eXo Cloude IDE
eXo Cloud IDE is an online collaborative development environment that enables you to code, build, debug in the cloud, and deploy to your PaaS of choice. Best of all, it’s completely free – and claiming your own Cloud IDE takes just minutes.
8. JS Bin
CodeRun Studio is a cross-platform Integrated Development Environment (IDE), designed for the cloud. It enables you to easily develop, debug and deploy web applications using your browser. CodeRun Studio can be used instead or alongside your existing desktop IDE. You can upload existing code in order to test it in the cloud or for sharing with your peers.
ecoder is a simple, web-based code editor, which includes a file browser, file uploader, and tabbed system to allow multiple files to be edited at the same time. using this web-application developers can edit code directly online, real-time syntax highlighting is handled by textarea and keyboard short-cuts lend it the feel of a locally installed application.
Kodingen is an Online Development Environment including Code Editor, Cloud Hosting, Database Administration, Collaboration, Web-based access.
Codeita is cloud-based software for prototyping and developing websites and web applications. It allows users to work together in a social environment, to create, edit and deploy web projects in a LAMP software bundle. Codeita makes it easy for developers to manage code, files and databases right from a browser-based dashboard. But, the main benefit of using this type of cloud-based software is team collaboration. Codeita allows users to share their web projects with other team members.
Maqetta is an open source project that provides WYSIWYG visual authoring of HTML5 user interfaces. The Maqetta application itself is authored in HTML, and therefore runs in the browser without requiring additional plugins or downloads.
17. Builder Pro
BuildorPro uses visual, code editing and debugging tools to provide an extremely agile method of creating and managing your site’s design & mark. With BuildorPro you can use visual controls that enhance your design process whilst maintaining full control over the code itself.
19. Squad Editor
Squad is a web-based collaborative code editor.
20. Cloud9 IDE