Improve the WordPress code editor

In many occasions for edit a WordPress theme or plugin we use the WordPress native code editor to avoid having to make the effort by FTP and edit the file with a code editor. But the WordPress code editor presents a simple plain text in which we must edit our code as we can …

To improve the work, is CodeMirror . A component based on JavaScript that detects more than 20 programming languages ​​ and like any code editor uses a colored syntax so that while you are programming you can see well if you are writing it well , or how you are doing it, by means of colors according to each category of terms.

To install it, just download the files and unzip them in the same directory of your theme. Then add this simple line to the file functions.php of your theme or in your function plugin

And that's it! A new and improved code editor with it we can edit codes more easily …