9three Posted January 16, 2009 Share Posted January 16, 2009 What are some good IDEs to develop in PHP? Preferably one that supports mutiple languages. PHP/JAVA/HTML/CSS/JAVASCRIPT are the languages that I really need. I tried out net beans but the problem is that net beans does not open well cross editors. if I code something in net beans and put it online, if I view the source, it's all in one line :/ That's the only thing stopping me from using it really. Or does anyone know how to fix that? Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 It's probably the line break type. Try changing it from \n to \r\n or something. Not sure why that would happen x.x. Quote Link to comment Share on other sites More sharing options...
9three Posted January 16, 2009 Author Share Posted January 16, 2009 That would be very annoying to add a line break using \n.... all of my code would then have if ($foo)\n {\n //code }\n What other IDEs are good for linux that are free? Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 Noooo I meant the IDE is using the wrong linebreak setting. I don't know what else it would be. Quote Link to comment Share on other sites More sharing options...
9three Posted January 16, 2009 Author Share Posted January 16, 2009 Gonna check for line break settings edit: nope nothing Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 Hrmmm.... I doubt that's it anyway, since almost all browsers are smart enough to handle that. If you view the source files are they 1 line? Also, when you output HTML, are you putting \n anywhere? <br> means nothing in terms of new lines in source code. Quote Link to comment Share on other sites More sharing options...
Lamez Posted January 16, 2009 Share Posted January 16, 2009 Dreamweaver, but I have often heard of Notepad++ or something like that is good. Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 Notepad++ is just Windows. I think it even uses the Windows API (boo hiss!). Quote Link to comment Share on other sites More sharing options...
9three Posted January 16, 2009 Author Share Posted January 16, 2009 nope I don't use \n in HTML. And yes, i know about <br> you can actually see where the linebreaks are suppose to be: ex: <html> <head></head> <body> </body> </html> how hard is it to edit html in one line..... any language for that matter lol edit: bluefish looks promising http://bluefish.openoffice.nl/ Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 Can I see a PHP snippet please? I suspect that it's your code, not Netbeamns. Does it do the same thing if you use vi or something? Quote Link to comment Share on other sites More sharing options...
jcombs_31 Posted January 16, 2009 Share Posted January 16, 2009 nope I don't use \n in HTML. And yes, i know about <br> you can actually see where the linebreaks are suppose to be: ex: <html> <head></head> <body> </body> </html> how hard is it to edit html in one line..... any language for that matter lol edit: bluefish looks promising http://bluefish.openoffice.nl/ I my experience quanta plus was better than bluefish. Quote Link to comment Share on other sites More sharing options...
9three Posted January 16, 2009 Author Share Posted January 16, 2009 Can I see a PHP snippet please? I suspect that it's your code, not Netbeamns. Does it do the same thing if you use vi or something? I just run the default start up of php/html and it does it already: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <?php // put your code here ?> </body> </html> Quote Link to comment Share on other sites More sharing options...
corbin Posted January 16, 2009 Share Posted January 16, 2009 Ahhhh not your code ;p. I thought you might have something like: <?php echo '<DOCTYPE>'; echo '<html>'; Expecting it to make new lines automatically. Hrmm, well, I've never heard of that problem in NB before x.x. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.