Re: [PHP] Netbeans IDE 6.5

2009-10-29 Thread John Black

James McLean wrote:

I myself and I'm sure many others will agree that sticking to 'around'
80 chars is best-practice, it's handy for those times when you need to
fix code in an emergency in an 80 col terminal, among other reasons.
Personally the 80 col marker (I set it to 78 cols actually) is one of
the first things I enable in Eclipse PDT..


I only use a character limit for email but I have a wide screen so write 
code to the edge of the screen.
Updating code via a terminal connection is no problem either because vim 
will wrap long lines.
So 80chars may have been a good idea a long time ago but I think that 
the rule is a bit outdated.


--
John
Those willing to give up a little liberty for a little security
deserve neither security nor liberty.
[Benjamin Franklin]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-29 Thread John Black

Skip Evans wrote:
Now, if I can just get rid of that red line at the 80 column mark. I 
haven't bothered with 80 columns since I wrote assembly on a terminal 
connected to a PDP-11 in college.


Sorry forgot to include this.

Tools=Options=Formatting
Set Right Margin to 200 (200 is the largest number the field will accept)

The red line should be gone now

--
John
Those willing to give up a little liberty for a little security
deserve neither security nor liberty.
[Benjamin Franklin]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-29 Thread James McLean
On Thu, Oct 29, 2009 at 8:13 PM, John Black
s...@network-technologies.org wrote:
 James McLean wrote:

 I myself and I'm sure many others will agree that sticking to 'around'
 80 chars is best-practice, it's handy for those times when you need to
 fix code in an emergency in an 80 col terminal, among other reasons.
 Personally the 80 col marker (I set it to 78 cols actually) is one of
 the first things I enable in Eclipse PDT..

 I only use a character limit for email but I have a wide screen so write
 code to the edge of the screen.
 Updating code via a terminal connection is no problem either because vim
 will wrap long lines.
 So 80chars may have been a good idea a long time ago but I think that the
 rule is a bit outdated.

Personally I find wrapped vi/vim lines very annoying, hence why I
stick to short lines where possible :)

Cheers

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Bob McConnell
From: Skip Evans

 I just downloaded the Netbeans 6.5 IDE to use as a code 
 editor, installed the PHP plugin for syntax highlighting and 
 it didn't look so good, so I find on the forum a guy who has 
 made a collection of files, starting in a directory called 
 config, that will apparently change the highlighting more in 
 line to what I'm used to.
 
 But he gave no instructions how this is to be installed and I 
 can't find anywhere in the documentation how to install this 
 stuff.

Three questions.

1. Why did you install an obsolete version? 6.7.1 is current and 6.8 is
now in beta.

2. You just asked this question on the NetBeans mailing list, which is
more likely to result in a useable answer. Can't you wait for them?

3. Did you try reading the help section on Configuring IDE Settings?

Once again you forgot to include that you installed this on Ubuntu.

Bob McConnell

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Skip Evans

Bob McConnell wrote:


Three questions.

1. Why did you install an obsolete version? 6.7.1 is current and 6.8 is
now in beta.


Because that what Ubuntu installs with apt-get install 
netbeans and I like to stick with Ubuntu tested stuff.




2. You just asked this question on the NetBeans mailing list, which is
more likely to result in a useable answer. Can't you wait for them?


No.



3. Did you try reading the help section on Configuring IDE Settings?


Yes.



Once again you forgot to include that you installed this on Ubuntu.



You mean people still use Windows? Talk about obsolete!

--

Skip Evans
PenguinSites.com, LLC
503 S Baldwin St, #1
Madison WI 53703
608.250.2720
http://penguinsites.com

Those of you who believe in
telekinesis, raise my hand.
 -- Kurt Vonnegut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Brady Mitchell
On Tue, Oct 27, 2009 at 5:50 PM, Skip Evans s...@bigskypenguin.com wrote:
 Any Netbeaners out there know how to install syntax highlighting stuff?

1 - Exit NetBeans
2 - Unzip the file in your ~/.netbeans/ folder.
3 - Start NetBeans
4 - Select the new color profile from Tools - Options - Fonts and
Colors - Profile dropdown

I would suggest upgrading to the latest NetBeans as well, it's worth it.

Brady

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Greg Maruszeczka
On Wed, 28 Oct 2009 11:29:49 -0500
Skip Evans s...@bigskypenguin.com wrote:

 Bob McConnell wrote:
  
  Three questions.
  
  1. Why did you install an obsolete version? 6.7.1 is current and
  6.8 is now in beta.
 
 Because that what Ubuntu installs with apt-get install 
 netbeans and I like to stick with Ubuntu tested stuff.
 

After being down this road with java apps like NB, Eclipse and
Tomcat IMHO you get very little benefit from installing the distro's
version, which always seem to be just far enough behind the latest to be
an annoyance for development purposes.

Download NB 6.7.1 (or even better, 6.8 Beta which looks pretty good to
me), run the install script and you're done. It's built-in updater will
handle the rest. Then if you're still feeling antsy about the choice of
syntax colors you can choose any of five different theme profiles under
Tools-Options-FontsColors or customize any one of them to your
heart's content.

HTH,

GM


-- 
   
Greg Maruszeczka

GnuPG-ID: 0x4309323E, http://pgp.mit.edu


signature.asc
Description: PGP signature


Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread Skip Evans

Greg Maruszeczka wrote:

Download NB 6.7.1 (or even better, 6.8 Beta which looks pretty good to
me), run the install script and you're done. It's built-in updater will
handle the rest. Then if you're still feeling antsy about the choice of
syntax colors you can choose any of five different theme profiles under
Tools-Options-FontsColors or customize any one of them to your
heart's content.



I took Greg's advice and downloaded 6.7.1, installed no 
problem, and now there is an import button, but when I try to 
import the new style from the NetBeans Forum it doesn't have 
any affect.


So, taking Greg's advice again I'll restyle it myself.

Now, if I can just get rid of that red line at the 80 column 
mark. I haven't bothered with 80 columns since I wrote 
assembly on a terminal connected to a PDP-11 in college.


Skip

Thanks,
Skip
--

Skip Evans
PenguinSites.com, LLC
503 S Baldwin St, #1
Madison WI 53703
608.250.2720
http://penguinsites.com

Those of you who believe in
telekinesis, raise my hand.
 -- Kurt Vonnegut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Netbeans IDE 6.5

2009-10-28 Thread James McLean
On Thu, Oct 29, 2009 at 4:05 AM, Skip Evans s...@bigskypenguin.com wrote:
 Now, if I can just get rid of that red line at the 80 column mark. I haven't
 bothered with 80 columns since I wrote assembly on a terminal connected to a
 PDP-11 in college.

I myself and I'm sure many others will agree that sticking to 'around'
80 chars is best-practice, it's handy for those times when you need to
fix code in an emergency in an 80 col terminal, among other reasons.
Personally the 80 col marker (I set it to 78 cols actually) is one of
the first things I enable in Eclipse PDT..

Zend would (mostly) agree:
http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html

Cheers,

James

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php