SitePoint Sponsor |
|
User Tag List
Results 101 to 125 of 160
-
May 15, 2005, 17:13 #101
- Join Date
- May 2005
- Location
- Amsterdam, the Netherlands
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
BBedit from Barbones !
BBedit
I started with a very old version a couple of years ago and been updating ever since...
Only downfall might be that it is only available for MacIntosh...
But a Mac would be nice for a change
-
May 15, 2005, 17:46 #102
- Join Date
- Apr 2003
- Location
- London
- Posts
- 2,423
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Hi...
Originally Posted by linmed01
I personally tend to go for simple tools and set my own bar at syntax highlighting, tabs as spaces, and a basically sensible mouse driven interface (so I don't have to learn lot's of keystrokes). I tend to use Komodo (works on Linux) and when I have to use Windows I'll use UltraEdit or possibly PHPEdit. I tend to use the Unix command line (or cygwin) for searching and major pieces of text manipulation. I don't memorise these commands, I just type...
Code:egrep --help
yours, MarcusMarcus Baker
Testing: SimpleTest, Cgreen, Fakemail
Other: Phemto dependency injector
Books: PHP in Action, 97 things
-
May 15, 2005, 21:38 #103
- Join Date
- Mar 2001
- Posts
- 3,537
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Rightly or wrongly I have always used notepad to develop my PHP applications. I have always found it very quick and easy to use
I would think the first thing to motivate anyone to abandon Notepad is the lack of line numbers. When you get an error on a certain line, are you currently counting the lines by hand to find your errors?
I used to do a lot of local php development on my pc, and after about my first 3 programs, I switched to EditPlus. Here are some of the things you can do with EditPlus:
1) When you open a new php file, EditPlus doesn't open a blank file. In the file that opens, there is an outline of the html you always use. Any type of program file you can open with EditPlus, e.g. C++, Java, php, html, etc has its own corresponding template file. You can change the template file to anything you want, and then when you open a file of a certain type, whatever is in its template file is displayed. That saves you having to type all the mundane stuff at the start of every program.
2) I think EditPlus's best feature is auto complete. There is an autocomplete file corresponding to each file type you can open. When you open a php file, the php autocomplete file contains shortcuts you can type instead of having to type out the whole command. For instance, when I want to add a for-loop, I type 'for' and hit the spacebar, and this is what is displayed:
for(var i = 0; i < | ; i++)
{
}
The red mark is where the cursor ends up, and I just fill in the maximum value for i. The result is I don't have to type out the whole for loop. You can determine where you want the cursor to end up as well. Another example, Java has interminably long commands, like:
System.out.println("some string");
I have my Java autocomplete file set up so that when I type "Sys" and then hit the space bar, the rest of the code is typed for me.
You can very easily change the autocomplete file on the fly to add shortcuts for any long variable names you repeatedly find yourself typing. In addition, you can add things to the autocomplete that you find yourself repeatedly typing from program to program.
3) Ever change a variable name, which repeatedly results in errors because you have track down all the places the variable appears that you didn't think of? You can use search and replace to easily change all the places the variable appears in the whole program with one click.
4) You can set up EditPlus so that your browser executes your php files inside EditPlus. At the click of a button, the results of your php file will display in a window inside EditPlus.
5) Spell check for common text files.
6) An HTML toolbar that you can click on to automatically insert various html tags at the cursor. (Do you really type those by hand?)
7) Line Numbers, custom syntax highlighting, font settings(ever use a font where a 1 and an l look exactly the same? O and 0?), and about 200 other features.
EditPlus costs around $30 and there are other similar commercial text editors like TextPad, as well as open source text editors. Pitch Notepad lickety split and find out what a real text editor is like.
-
May 16, 2005, 02:21 #104
Originally Posted by 7stud
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
May 16, 2005, 04:27 #105
Originally Posted by seanf
-
May 16, 2005, 04:31 #106
Originally Posted by Luke Redpath
) years ago! Make sure you have the status bar on (View > Status Bar)
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
May 16, 2005, 04:55 #107
- Join Date
- Nov 2001
- Location
- Atlanta, GA, USA
- Posts
- 5,011
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by lastcraft
I was searching for the classic study and also couldn't find it, but I found a couple other related tidbits.
One is Amdahl's Law, which suggests that improving the speed of a task is only as important as the time spent using the task. So, for example, if a special editor speeds up one task by 2000%, but you only do that task 5% of the time, your overall productivity doesn't change much.
The other is Keyboard v. Mouse, why the mouse is faster than keyboard interfaces.
I am curious how old that classic study is as I could see the margin growing as editors (hopefully) improve. Any estimate on that time frame?Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?
-
May 16, 2005, 05:36 #108
- Join Date
- May 2005
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I use emacs or vi simply because it doesnt use a lot of resources, its free and its easy to use.
-
May 16, 2005, 11:15 #109
- Join Date
- May 2002
- Location
- MI
- Posts
- 906
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I think too many people are concentrating on the editor side. I use Zend because it does more than just edit files. I have found the build in debugger and profiler a great help lately. Whenever I try something new I run it through to see some before/after of the code I've written and it's been a great help in finding areas of my code that need to be improved.
Aside from the profiler I've found the Zend auto-complete to work best for me. I've always seemed to have trouble with editors auto-completing functions from my own classes. I also love being able to hit F1 on any function and getting an opened manual page. It's just one more shortcut that makes life handy.
That being said, when a quick fix is needed nothing is faster than ssh, vi filename /string and a cw for that quick correction.mitechie.com
"Techies just think a little differently
...at least that is what they keep telling me."
-
May 16, 2005, 11:39 #110
Originally Posted by deuce868
1) Edit a line and hit enter to go to the next line
2) ZS will automatically indent to the same start point as the line before - that's fine
3) Press delete to go back to the edge - that's fine
4) Press enter to leave a line blank and ZS will jump back to the starting point of number 1 on your new blank line
This is enough to drive me mad, as if you don't take care you end up with lines that should be blank starting with spaces. I've tried all combinations of settings and have tried it on my Mac and PC and get the same thing.
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
May 16, 2005, 11:48 #111
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Oh good grief, not another "what editor to use?" discussion! Stop already. The question is about as useful as "what car should I buy?" I am sure the vehicle you chose perfectly achieves being parked all day and the hour of highly unusual driving you do. The difference between most editors is the difference between cup holders. You can test drive editors. Just download some interesting ones and see if you like where the cup holders are.
I agree with lastcraft that is the to whole tool chain that you use that makes more of a difference.Christopher
-
May 16, 2005, 12:17 #112
Originally Posted by arborint
What? Are you kidding? Quick? Easy? Compared to what? Having to chisel your program into a granite tablet?
Thanks to posting this question though, I am now getting on very well with Crimson Editor, it has all the extra features I wanted that notepad hasn't. Thanks for your input everyone.
-
May 16, 2005, 12:22 #113
- Join Date
- Jul 2004
- Location
- canada
- Posts
- 3,193
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i agree with linmed01.
i used to use notepad, and i know it is hard to find errors, but on theother hand it makes you a good debugger.
right now i am using Dreamweaver becaue syntax highlighting and inbuilt ftp features. BUt, i don't think using Notepad is that bad at all. once you get a hang of it its smooth.
-
May 16, 2005, 12:37 #114
- Join Date
- Feb 2005
- Location
- A box
- Posts
- 516
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Rapid PHP is my other favorite, but I just didn't use it. It's basically Dreamweaver minus the ability to ftp things to servers and with a millionth of the resources used.
<(^.^<) \(^.^\) (^.^) (/^.^)/ (>^.^)>
Core 2 Duo E8400 clocked @ 3.375GHz, 2x2GB 800MHz DDR2 RAM
5x SATA drives totalling 2.5TB, 7900GS KO, 6600GT
-
May 16, 2005, 16:04 #115
Originally Posted by seanf
-
May 16, 2005, 17:30 #116
- Join Date
- Apr 2003
- Location
- London
- Posts
- 2,423
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Hi...
Originally Posted by samsm
! I enjoyed those.
Originally Posted by samsm
yours, MarcusMarcus Baker
Testing: SimpleTest, Cgreen, Fakemail
Other: Phemto dependency injector
Books: PHP in Action, 97 things
-
May 16, 2005, 21:07 #117
- Join Date
- Jan 2005
- Location
- philadelphia
- Posts
- 145
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Try textpad from http://www.textpad.com - very nice, simple, easy.
-
May 17, 2005, 02:36 #118
Originally Posted by Luke Redpath
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
May 18, 2005, 03:50 #119
- Join Date
- Oct 2002
- Posts
- 146
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Young Twig
Heredoc can be useful sometimes. If you're taking output from cpanel, for example, the cpanel tags are parsed before the PHP. You can't guarantee they won't contain quotes of either type, so you have to use heredoc.
AmoryaKickRSS - free web-based RSS aggregator.
-
May 18, 2005, 09:21 #120
- Join Date
- Nov 2002
- Location
- Central PA
- Posts
- 1,146
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I used Homesite for a couple years until I upgraded to DW MX. If you aren't using DW MX, Homesite is a great alternative.
-
May 18, 2005, 12:30 #121
I'll second HomeSite. Especially for newer programmers the different font colors for the different types of code are great. For a page you haven't really looked at yet it realy puts things into perspective.
-
May 18, 2005, 17:45 #122
- Join Date
- Jan 2005
- Location
- USA
- Posts
- 32
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i agree with linmed01.
i used to use notepad, and i know it is hard to find errors, but on theother hand it makes you a good debugger.
So I don't even think it is a subjective thing. It's just plain bad. It's like a broken plane. You can't really argue that it'll make you a better pilot if you always fly a plane with one wing... yes, it would be quite a feat, but it actually makes you a worse pilot for taking the higher risk of causing a crash (and inevitably, having more crashes).
The ONLY legitimate excuse to use Notepad is if you don't know any better. And no, Dreamweaver is not much better for modifying PHP and anything non-HTML.
-
May 18, 2005, 17:48 #123
- Join Date
- Jan 2005
- Location
- USA
- Posts
- 32
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I should add, that I do use Notepad, but not for editing PHP, or for any development work. I use it to get to my "todo" list quickly, and when I need to make very slight changes to a text file, simply cause it starts up quickly and I have it binded to F4.
So i'm not saying it's the bane of all evil or something. Just that, it is not at all suitable for development work.
-
May 18, 2005, 22:32 #124
- Join Date
- Apr 2003
- Location
- New Zealand
- Posts
- 168
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well, I may as well add my own thoughts. My journey through editors went something like this:
ISP's web based templating system
MS Publisher - save as web page (Ugh!)
MS FrontPage Express (when I came across it on my computer one day)
Notepad (once I gained a bit of html knowledge and realised how bloated Frontpage code was)
Wordpad (Found it a bit nicer to use than Notepad)
HotDog (line numbers and syntax highlighting was useful when I started coding in Perl. Other useful features as well)
DzSoft PHP Editor (When I started using PHP and HotDog couldn't handle it as well as I wanted - particularly for syntax highlighting)
EditPlus (Never looked back - nor sideways - since)
The features I find most useful:
syntax highlighting
line numbering
templating
menu bar "one-click" html tags
tabbed windows for working on multiple files at once (and side by side viewing in window split)
search/ search & replace.
indentation tabs as spaces
matching brace finding
the ability to change blocks of text to upper case, lower case, or capitalised (especially when updating old files with upper case tags)
linefeed formatting (PC/Unix/Mac)Last edited by KiwiJohn; May 20, 2005 at 15:19.
-
May 19, 2005, 06:58 #125
- Join Date
- May 2005
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Dude, try Textpad, it rocks.
Bookmarks