![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2008
Posts: 3
Rep Power: 0
![]() |
easy way to find the line number
Probably this question will make the experienced ones laugh but I use notepad to code and when there is an error it gives me the line number.
Notepad does not give a line number to find out where the problem is. How do you work around this? If you do not use NOtepad what do you use? Student here and no budget to buy any software. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
Re: easy way to find the line number
In notepad you should be able to hit "Ctrl-G" and type in the line number.
|
|
|
|
|
|
#3 |
|
Not a user?
Join Date: Sep 2007
Posts: 255
Rep Power: 1
![]() |
Re: easy way to find the line number
You can download JEdit for free, and they have many many plugins for different programming languages; with the popularity of PHP, I'd be willing to bet they have a plugin for PHP.
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Re: easy way to find the line number
There are a variety of free editors out there, and (arguably) every single one of them is better than notepad. Here are just a few I've used over the years, in no particular order:
Notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm) UliPad (http://code.google.com/p/ulipad/) Komodo Edit (http://www.activestate.com/Products/...odo_edit.mhtml) And my all time favorite, Emacs. (http://www.gnu.org/software/emacs/) Different people like different editors. Try a bunch and see what you like. I've tried dozens, but always end up coming back to Emacs. |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Jul 2008
Posts: 3
Rep Power: 0
![]() |
tx
tx everybody. Sane I tried ctl-G nothing happend.
I looked in the help and ended up in EDIT menu. There is a "Goto Ctrl+G" option but mine is light gray meaning I can not click on it. How do you do it? |
|
|
|
|
|
#6 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,827
Rep Power: 5
![]() |
Re: easy way to find the line number
That's strange. I don't know what that means. It's clickable for me.
I'd suggest looking into some of the editors mentioned above. Good luck. |
|
|
|
|
|
#7 |
|
King of Portal
|
Re: easy way to find the line number
Look around the PHP forum. I remember doing something a while back which would parse PHP code (using PHP) and display the line numbers next to them. People replied with even better ways to do it. That way you could look at your code with line numbers without having to download or install another program.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Entering a Number or Letter | kewlgeye | Java | 9 | Apr 5th, 2008 3:55 PM |
| Line Number | grimpirate | PHP | 2 | Apr 2nd, 2008 3:48 PM |
| Jumping to a specific line number in a text file | Adeil | C++ | 4 | Nov 5th, 2007 9:54 AM |
| find max number in an array | paulmedic555 | C | 4 | Nov 20th, 2006 10:01 AM |
| Installing IPB 2.03 | bh4575 | Other Web Development Languages | 0 | Apr 23rd, 2005 2:36 AM |