Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 29th, 2013 at 4:17 PM
As many of you probably already know, I do quite a bit of PHP programming, as well as additonal programming in some other languages. Currently I do all of my PHP development on a live server since my localhost tends to screw things up at times. Notepadd++ and filezilla are all that I have to work with at this point though.
I've been considering getting an IDE to help with things such as auto-indenting code, etc..., but I'm not really sure which one will work best for PHP. Any suggestions?
June 29th, 2013 at 4:41 PM
As far as I've read, since PHP is a scripting language... and doesn't need compiling from the editor. So really you just need your text editor to do all the work. And for PHP, your server. But Netbeans also includes support for PHP, and is what I use for Java.
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 29th, 2013 at 5:20 PM
Yeah, what I'm currently using is n++ and filezilla, and of course my server. The main thing n++ lacks is an easy way to auo-indent text. I keep forgetting to indent when I write code, and it shows when people read my code.
June 29th, 2013 at 5:27 PM
(June 29th, 2013 at 5:20 PM)Darth-Apple link Wrote: Yeah, what I'm currently using is n++ and filezilla, and of course my server. The main thing n++ lacks is an easy way to auo-indent text. I keep forgetting to indent when I write code, and it shows when people read my code. To be honest, I don't think there are many IDE's that auto indent your code. I think that would be rather complex to code, and as far as I know, Netbeans doesn't do it either (I don't actually forget to indent my code, surprisingly)
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 29th, 2013 at 5:29 PM
Back when I programmed C++, there was a command line tool that would do it for you. I guess that was the kind of thing I was looking for, but if it's not there, it's time to change my coding habits instead.
June 30th, 2013 at 3:14 AM
(June 29th, 2013 at 5:29 PM)Darth-Apple link Wrote: Back when I programmed C++, there was a command line tool that would do it for you. I guess that was the kind of thing I was looking for, but if it's not there, it's time to change my coding habits instead. Heh, I haven't used netbeans that much though. Maybe it does have that option, just haven't noticed it.
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 30th, 2013 at 3:31 AM
Notepad++ actually does have it as well, but it apparently doesn't work with PHP.
June 30th, 2013 at 3:39 AM
There may be plugins to do it. Look for one.
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 30th, 2013 at 3:45 AM
I think I did at one point, and I'm not sure why I never found something. I'll probably look again tomorrow and see.
Posts: 548
Joined: May 2013
Reputation:
8
Location: Canada
Posts: 548
Joined: May 2013
Reputation:
8
Location: Canada
June 30th, 2013 at 4:47 PM
I try to ident my code when coding in HTML, but the default MyBB editors are horrible because they're browser based. So when you try to press tab, it leaves the editor. You have to use the spacebar. Annoying... :
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 30th, 2013 at 4:49 PM
It's useful for small edits I suppose. Sometimes I'll just copy/paste the text into notepad++ if I intend on doing a lot of editing though. Notepad++ is one great program.
Posts: 548
Joined: May 2013
Reputation:
8
Location: Canada
Posts: 548
Joined: May 2013
Reputation:
8
Location: Canada
June 30th, 2013 at 4:50 PM
I tend to forget I can do that...
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 30th, 2013 at 4:58 PM
I've accidentally done editing in notepad before, and for whatever reason notepad puts headers or something in the files that keeps them from being executed properly by a PHP interpreter. That's always annoying.
June 30th, 2013 at 5:00 PM
(June 30th, 2013 at 4:58 PM)Darth-Apple link Wrote: I've accidentally done editing in notepad before, and for whatever reason notepad puts headers or something in the files that keeps them from being executed properly by a PHP interpreter. That's always annoying. Notepad man, without those extra pluses, what a bland text editor
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
Posts: 5,287
Joined: May 2013
Reputation:
181
Location: Where's North?
Items (6) ▼
June 30th, 2013 at 5:01 PM
Honestly microsoft could have done a better job.
June 30th, 2013 at 5:07 PM
(June 30th, 2013 at 5:01 PM)Darth-Apple link Wrote: Honestly microsoft could have done a better job. I think its only meant for a makeshift text editor though. Until you get a better one. Like I only use IE to download another browser
Posts: 612
Joined: Nov 2013
Reputation:
19
Location: Spain
Items (7) ▼
Posts: 612
Joined: Nov 2013
Reputation:
19
Location: Spain
Items (7) ▼
March 20th, 2019 at 5:26 PM
gedit is a great text editor for Linux, that was always my go-to when I used Linux.
New editions of Visual Studio Community are really good. It auto-indents as well.
Estoy en España
Posts: 2,682
Joined: Jun 2013
Reputation:
105
Location: Tycho City, Tycho Crater, Luna.
Items (1) ▼
Posts: 2,682
Joined: Jun 2013
Reputation:
105
Location: Tycho City, Tycho Crater, Luna.
Items (1) ▼
March 21st, 2019 at 1:33 AM
I like gedit, but I like to use it in conjunction with notepad ++ (cross platform for the win!), and occasionally nano.
VI and Emacs are of course the classics though
I like using notepad ++ especially when I'm editing HTML on my website since it color codes stuff and highlights what one thing might be linked to.
so like if I go <dev> then the </dev> will be highlighted to the one that's whatever number on the list.
makes it easy to find troubleshoot when a page goes wonky because I forgot something or didn't sort the page correct.
Debugging man
that being said, Gedit has a lot of really nice plugins to supplement stuff, including special code checking stuff for several languages, including HTML.
"I reject your reality and subsitute my own." - Adam Savage, Mythbusters
|