EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
Editing HTML/PHP Files | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| CrashNBurn | Posted on: 9/10/2010 8:01 pm |
Just can't stay away ![]() ![]() Joined: 4/8/2010 From: Posts: 130 |
Editing HTML/PHP Files I find lately I unfortunately need to work with HTML files, embedded Javascript, PHP, and <div style="...">
Out of the box EmEditor does not seem to be able to handle this task well. For example, CSS-like strings in <div style="..."> get highlighted as a String: so you can't distinguish the css keywords. Yet if you disable double-quote highlighting it makes the strings in PHP and Javascript difficult to look at. As well, as far as I can tell there doesn't seem to be any <TAG> </TAG> matching like there is for languages that use { braces } An Editor I recently used, CodeLobster PHP had <TAG> </TAG> matching when you were inside a tag block - the matching tags were highlighted and you could collapse code on those tags -- albeit it is buggy and has crashed more than a few times. As well as proper highlighting of PHP/Javascript/and CSS when placed in-line in a HTML file. Are there any plugins/add-ons that would make editing HTML easier in EmEditor? I've seen the HTML-tag-completer -- which is fine if you are writing code from scratch and not useful at all when you are trying to edit pre-existing files. Or if you need to try and format the file so that it's actually human-readable (ie proper tag spacing/indenting). I also really miss key-word completion when it comes to html/css; having to constantly reference the correct terminology really slows down the work-flow. |
| Yutaka | Posted on: 9/12/2010 6:55 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2398 |
Re: Editing HTML/PHP Files Hello CrashNBurn,
You might want to try Zen-coding plug-in/macros. http://www.emeditor.com/modules/feature1/rewrite/tc_37.html In Zen-coding, the Balance Tag action selects text between <TAG> and </TAG>. Key-word completion can be accomplished using the WordComplete plug-in, which is installed by default. Please let me know if you have further questions. Thank you!
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




