Coding- What editor to use?

compfixer101
CERTIFIED EXPERT
Published:
Updated:
If your starting to code and edit webpages, that use php, you might want to to find yourself the proper text editor, many people choose notepad, or wordpad, both are supplied in any Windows OS, but this is the worst thing to do, especially when dealing with php.

Wordpad is basically the worst text editor program available, sure it may look all nice and fancy, but it also injects abunch of junk to your code when saved, notepad does this occasionally. This is because it saves the files with a signature or Byte Order Mark (BOM) ( http://en.wikipedia.org/wiki/Byte_Order_Mark ) at the beginning of UTF-8 text.
For more information, see the article Unexpected characters or blank lines ( http://www.w3.org/International/questions/qa-utf8-bom.en.php ) on the W3C site.

Older text editors or browsers will display the BOM as a blank line on-screen, others will display unexpected characters, such as . This may also occur in the latest browsers if a file that starts with a BOM is included into another file by PHP. Alot of browers and php based pages don't like them and will not work correctly if they are present, phpBB is one of the many php based scripts that don't like Bom Signatures.

To cure this issue use a editor that doesn't leave Bom Signatures(extra characters or spaces in a file) in other words don't use notepad to edit files. I use an editor called Notepad++ and it is free ( http://notepad-plus.sourceforge.net/uk/site.htm ) But if you don't like that one, there are others that will work and are free.(Crimson editor is another one)
1
3,612 Views
compfixer101
CERTIFIED EXPERT

Comments (11)

Commented:
Aptana is great!
+1 for Aptana (or Eclipse for that matter). Both can be configured as you need them, they have bunch of tutorials, solutions to problems and big community if you need somethig not abvious instantly. Or you can ask here ;)
I'd recooment clean install od Aptana (without too much aditionals plugins). If you really need some extra plugins "not available" by default in Aptana, I'd recommend Eclipse + plugins that you need.
Avinash ZalaWeb Expert

Commented:
Eclipse PDT...
Justin Merrill, MBAPrincipal Platform Engineer
CERTIFIED EXPERT

Commented:
I love NetBeans for PHP, and it's decent with Javascript as well.

I have only dabbled a little, but Brackets.io seems to be the good to use for a lot of Javascript (and related libraries / frameworks) stuff that is in high demand right now. It includes a Javascript bebugger, which is pretty awesome.

For Java, I think Eclipse is probably the best, with NetBeans being a VERY close second.

Recently, I've been working with a ton of blended code on different systems that has goofy stuff like old Java ILOG code, some old Perl, and other uncommon stuff. As a lowest common denominator, I've found that Sublime Text works great for an "All Inclusive" Code Editor.
Dawid FusekVirtualization Expert, Sr B&R, Storage Specialist
CERTIFIED EXPERT

Commented:
heeh,
 
this article is rather a good point to comments bellow art. that are in fact much more helpfully :)

regards
NTShad0w

View More

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.