Syntax Highlighting
I was looking for something else on the internet this afternoon, and happened across this: http://www.johnkolbert.com/wordpress/add-native-syntax-highlighting-and-line-numbering-to-your-plugin-with-wp-28/
Syntax highlighting in the Pod Pages, Templates, and Helpers fields would be great. I currently find myself toggling between my browser and Notepad++ when I'm looking for that fat-finger that's causing part of my page not to display correctly.
While I'm asking, what about adding syntax highlighting via this plugin to the forums would be a great addition too... http://alexgorbatchev.com/wiki/SyntaxHighlighter
Thanks again, and keep up the good work!
4 Answers
CodePress and Bespin are the two main ones I've been looking into. CodePress is what WP uses, but it has browser compatibility issues (which is why WP disabled it in 2.8.1). It also seems to have issues when being initialized with hidden HTML elements (e.g. a textarea within a hidden div).
Mozilla Bespin is a more serious contender, and IMO has a brighter future. Its standalone editor component is still in early development and pretty buggy though.
We will add code highlighting eventually, but want to make absolutely sure that the editor/highlighter we choose will make people's lives easier (and not get in the way).
+1 for syntax highlighting making pods even better!
a temporary setting for "turn on buggy highlighter/editor" would be nice in the mean time ;)
"+1 for syntax highlighting making pods even better!" ;-)


