Re: What editor do you use for php?

MadHatter wrote:
elbekko wrote:
MadHatter wrote:

the only thing that annoys me about dreamweaver is their intellisense/code insite/code complete (whatever you want to call it).  when I type something, the hint list drops down, and I always use the wheel mouse to scroll up and down the list.  w/ dw, it scrolls the page and leaves the drop down list at the original x/y location on the screen (doesnt scroll the list at all)

You can turn that off tho. And just call it with CTRL+Space when you need it. I just love the function tooltips etc, as I tend to forget the order of the arguments =/ It's syntax highlight is lovely too, but that might just be me being used to it, no idea...

yea control+space is how most code completion lists are brought up (and the reason why most of my code is misspelled:D), but where do I modify the setting for wheel mouse scrolling (so that it scrolls the list not the window)?

I have no idea =/ I usually just use the arrow keys or type untill I'm in the area of the correct function.

52

Re: What editor do you use for php?

Notepad++, LopeEdit.

[img]http://www.chemicalfusion.net/jords/eddieb.jpg[/img]

Re: What editor do you use for php?

Notepad 2

The only things I really need in a text editor is syntax highlighting, line numbering, and Unix tabs.

Re: What editor do you use for php?

Textpad

Making the world a better place one byte at a time.

55

Re: What editor do you use for php?

shinko_metsuo wrote:

The only things I really need in a text editor is syntax highlighting, line numbering, and Unix tabs.

Amen smile

[img]http://www.chemicalfusion.net/jords/eddieb.jpg[/img]

56 (edited by zaher 2006-09-12 16:04)

Re: What editor do you use for php?

What mean "Unix tabs"?

If your people come crazy, you will not need to your mind any more.

57

Re: What editor do you use for php?

Kha0sK1d wrote:

Textpad

That's the editor I was going to recommend. It has customisable syntax files, which reminds me to look for the sql ones again.

I used textpad almost exclusively for coding outside of VB6 which I also used when I worked in IT.

"Reality is that which when you stop believing in it doesn't go away."

Re: What editor do you use for php?

indent + emacs? dono if there's an indent that does php, but the good old one should at least not bugger up the html/php...

Course if your me, it's vim big_smile I get caught adding ":wq" to my e-mails sometimes, lol

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

back when computers were run off of tape and card stacks, when rooms filled with "computers" had less computing power than your typical automatically flushing toilet, people had keyboards that didnt have things like capital letters (complete alphabets) shift or tab keys.  this was back when std out was a printer, or one of these new TV things called a "monitor" and all you had to look at was text, std IO only had enough memory to buffer 80 characters per line and folks used to have to set their margins using special keystrokes which some refer to as unix tabs.

believe it or not there are people from 80 years ago who learned how to program their punch card stack using this type of a word processor, and are way to mentally challenged to learn what this "graphical user interface" thing is all about.  these are folks who run the original BSD unix operating system on their brand new 8088 and think that people who use this new wannabe unix "linux" or "M$" as they term it, operating system, is are bunch of pansies.  they are much too hard core to use an editor concieved or written in the last 20 years and require "unix tabs" so that they can set their margins the same way they've been doing it for the past 50 years.

60

Re: What editor do you use for php?

I worked in the past on 8088 with green monitor, 80 char is wide of screen when you write a program.
Now i always disable the right margine in my editor because i like to write long lines, i hate wrape lines.

I released Alpha version of my editor (PHP Light Edit) in sourceforge.net but still need testing and testing, i tried to force my friend to use it, but thay like the huge editors with many features.

For that i asked what mean "Unix tabs", but why want it how old you tongue ?

If your people come crazy, you will not need to your mind any more.

Re: What editor do you use for php?

unix tabs are like short cut keys to set margins.  I predate the 8088.  my father has been a programmer since before I was born.  It was always fun when I was younger to go to his office and see those univac computers that filled enormous rooms with the big desk sized terminal.

Re: What editor do you use for php?

Yah, well I have a 2x86 laptop that's bigger then my microwave, and has a screen about the size of my palm pilot! and it still works tongue

Heck... if war-dialing was still popular I'd be sitting beside a pay-phone with the thing pluged into the light socket for power big_smile

(Read: I want a univac computers that filled enormous rooms with the big desk sized terminal)

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

I just noticed a drawback of Eclipse ... removing a comment start/end in a large PHP-file will make it take along paus ... not that great ... tongue

Re: What editor do you use for php?

Frank H wrote:

I just noticed a drawback of Eclipse ... removing a comment start/end in a large PHP-file will make it take along paus ... not that great ... tongue

Is that really the only thing you noticed? You haven't noticed the slowness? The bloatedness?
(given, Dreamweaver starts slow but it works fast after starting)

Re: What editor do you use for php?

nopes, the only one ...

Re: What editor do you use for php?

Gawd, what's wrong with yous... at bloatedest, I use (g?)vi(m?); If I have to use windows ~.~ Notepad, unless enough posix is installed to run vi big_smile

With (g?)vi(m?), I could load up 10,000+ lines (in x files), and perform a regex substitutions on all 10, 000 of them lines without losing a tick tongue

Ohh, and the overhead of starting it up is mostly in the OS, like adding the title bar, or grabbing a handle to the window.

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

does it has autocompletion on variablenames and such?  (I use other programs for editing other stuff than PHP)

Re: What editor do you use for php?

VI is pretty nice for using through SSH or so, but for using alot I don't really like it...

69 (edited by MadHatter 2006-09-15 20:39)

Re: What editor do you use for php?

I spend most of my day in some form of visual studio (edit: actually I do spend some time in front of an ssh terminal in vi, but thats not a whole lot).  I've done development in vi and would have to find a tall building to jump off of if I ever had to go back to that as my primary editor.

IMO codegen / refactoring  of eclipse is beyond compare.  same goes for visual studio 2005.

while I certainly could code w/ a plain text editor, its a big waste of time and money (money they'd pay me to hand code everything).

If I have to type more than 2 keystrokes for function, types, namespaces, variables or anything else, I get cranky.  if I had to do a normal text editor, I'd guarentee nothing would be more than 3 letters long.

Re: What editor do you use for php?

@Frank+elekko Meh, don't need auto-complete, just use bash. And sure in SSH, but it really shines as an add-on to all the other fancy tools. WMaker, vi, 10+vdesktops, grep, find, sed, indent... I'm forgetting alot... but you know it's there big_smile

If I had a few more monitors, and some extra sets of arms, I could code Windows XP in a day (home version though, Pro would take a day and a bit...) tongue

@MadHatter VS takes ~way~ to long to parse lines of code, or load header (for it's auto-completion), and has serious issues with updating/timestamping resources durring a build (I think I had v2004 or something though). Plus the overhead of 3 blue screen a week... and windows... My brain hurts just writing about it tongue My computer uses less memory then a clean install of windows (ME/2K/XP) when it's bzip2-tar-balling 300MB of data from a cgi script and buffering up all the data ~before~ sending it out to the web. Wern't you the guy who's grandpa invented computers? I thought you liked unixtabs? tongue

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

I don't need auto-complete, I need Dreamweaver's tooltips for functions. As my memory sucks wink
For the rest... syntax highlighting and decent indentation (not like notepad) I need too... that's about it smile

Re: What editor do you use for php?

I was using dreamweaver for all my coding and customizations, but discovered it was changing some code when it was uploaded back to the site.  Stopped using it and now really like pspad (it's free) along with filezilla for my ftp client (it's free too LoL)....

best,

Jan

Re: What editor do you use for php?

deadram wrote:

VS takes ~way~ to long to parse lines of code, or load header (for it's auto-completion), and has serious issues with updating/timestamping resources durring a build (I think I had v2004 or something though).

really odd that you say that.  wednesday I was trying to diagnose a problem we were having at work.  we have a query that takes about 5 hours to run, returns some 3-400 thousand records that are sent via xml (for each record) 200 records at a time to a solr search engine.  well, when the update completed, instead of having the complete set of data it would have about 200 less records than it should have.  so to find the problem, I logged every record sent to the search engine to a file.  that file ended up in the realm of about 12 gig.  I physically could not open it in any other editor.  I could view it w/ head / tail and more, but anything else bombed.  oddly enough, it loaded right up (seconds) into visual studio and I was able to scroll up and down the file as if it were 12k...  so I'm perplexed as to how anything smaller than a 12 gig log file would take an editor so long to load.

as for the time it takes for loading autocompletion, that again has me wondering.

my typical week consists of working on SOLR (my least favorite part of the job.  it runs on linux, and I use vi to update its java code base as the server doesnt have X11 installed so I cant use a GUI editor), an update windows service that post data to that server, which is written in .NET. and use eclipse for other random things we do.  not a week goes by that I'm not using one of these different editors, and given the consistency in working w/ the different variety of editors, I can get a lot more done in eclipse and visual studio than anyone could in vi, simply because so much of the code is generated with the editor, if its not generated, its typed out for me as I code w/ the intellisense / code completion.

anyone who'd prefer vi over visual studio or eclipse either 1. cant afford good development software, 2. cant afford a decent computer made in the last 5 years 3. has a lot of time to kill, 4. still programs in cobol, 5. is out of a job, or 6. is locked away in a mental institution and does programming for therapy.

deadram wrote:

Plus the overhead of 3 blue screen a week... and windows...

sounds like somethings not configured right.  if you're getting 3 blue screens a week, anything could seem like it takes forever to load, and might seem unstable.


I dont do any php professionally (the idiots I work with thing C# is the end all of programming languages and would rather develop web apps in that bloated crappy web technology than a fast clean php) but I like zend studio at home.  then again I have a super computer at home so there isnt anything on the market that could slow this thing down (even swing or SWT).

Re: What editor do you use for php?

So you would like bloated software? I like 5 commands to filter out all the junk of that 12Gig into 5Gig, and then 10 to split that 5 Gigs up in X Mb files, and open each with less, all from a one line bash script ;p

  VS (and microsoft prodocts, or even windows; adobe, corel, etc... are all doing the same) is all calling in the army, to respond to a broken fingernail. Why waste all that CPU on things your not going to use in that session, when your computer could be doing other, more important things; like archiving porn off the web automagically, and rotating each of your 10 virtual desktops to display the images, while hosting a website, calculating the rating to give to you music collection based on your interactions with your music player, reading you an e-book, botting 10 games, building a C++ app, and calculating the relative position of the moon to the sun in 2 billion years, all whilest your writing your latest addition to your php script on less then 1Gig of ram, and not even using 50% of your 3Gig CPU... ;p

Just as a funny aside... Many pda programs already have that inverted buffering of files... ;p You could open that 12 Gig file on my either of my palm pilots (33Mhz, 64Kb RAM; and 300Mhz, 512Kb RAM), assuming... it had some way to get to the data, lol ;p I remeber having to write a image loader that keeped the image in a run line encoded compressed chunk of memory, and I had to decode and recode each edit in BYTE chunks. Hehe, if the image had to much "noise" then the app would run out of memory and crash! Fun stuff ~.~

echo "deadram"; echo; fortune;

Re: What editor do you use for php?

bluescreening 3 times a day ... lol ... your computer must be really broken, most probably in hardware ... a friend of mine had bluescreen trouble, and it boiled down to a faulty bluetooth dongle, and another had a broken powersupply + a burned mainboard (I saw it, didn't look nice, a MSI btw wink) ... but I suppose it was windows fault it broke wink

either way ... please don't turn this thread to some "I'm so £337, as I use *nix, everything else sucks my *****"-thread ... It's about this:

hankwang wrote:

I have been customizing my copy of punbb a bit and I keep wondering how Rickard and other php programmers deal with their sourcecode?

I have been using emacs for over 10 years now, because it knows syntax and indentation rules for most programming languages. But with php it gets quite confused because of the mixing of HTML and PHP's C-like syntax, even within single lines. Moreover, it appears to me that programmers nowadays like to use extremely long lines of code. Either I have to use an editor which cuts off the right part of the line (which means I have to do horizontal scrolling all the time while looking at the code) or let the editor wrap around long lines, which means the indentation gets messed up. Am I old-fashioned with my preference for lines that are max 80 or maybe 120 characters long?

So what is the recommended software for editing punbb code?

P.S. I am a long-term Linux user in case you didn't guess that from my emacs usage. smile